- Timestamp:
- 11/28/10 23:13:48 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
java/FramclipsePlugin/src/main/resources/framscript.xml
r52 r63 512 512 </type> 513 513 <type name="Dictionary" context="Global context"> 514 <description><![CDATA[Dictionary associates stored values with string keys ("key" is the first argument in get/set/remove functions). Integer "key" can be used to enumerate all elements. 514 <description><![CDATA[Dictionary associates stored values with string keys ("key" is the first argument in get/set/remove functions). Integer "key" can be used to enumerate all elements. The sequence of elements is not preserved. 515 515 Example: var d=Dictionary.new(); d.set("name","John"); d.set("age",44); 516 var i,element; for(i=0;i<d.size;i++) element=d.get(i);]]></description>516 var i,element; for(i=0;i<d.size;i++) CLI.println(d.getKey(i)+" is "+d.get(i));]]></description> 517 517 <element name="size" type="integer"/> 518 518 <element name="toString" type="string"/> … … 527 527 <arguments> 528 528 <argument name="key" type="untyped"/> 529 </arguments> 530 </element> 531 <element name="getKey" function="true" type="string"> 532 <arguments> 533 <argument name="index"/> 529 534 </arguments> 530 535 </element> … … 2336 2341 </element> 2337 2342 <element name="odecol2softcfm" type="float" min="0" max="1" default="0"/> 2343 <element name="odecol2softerp" type="float" min="0" max="1" default="0"/> 2338 2344 <element name="odecolbounce" type="float" min="0" max="1" default="0.1"/> 2339 2345 <element name="odecolbouncevel" type="float" min="0" max="1" default="0.01"/> … … 2345 2351 </element> 2346 2352 <element name="odecolsoftcfm" type="float" min="0" max="1" default="0"/> 2353 <element name="odecolsofterp" type="float" min="0" max="1" default="0"/> 2347 2354 <element name="odemusclemax" type="float" min="0" max="100" default="10"> 2348 2355 <description><![CDATA[i.e. "MMMMM" if f1]]></description> … … 2361 2368 ]]></description> 2362 2369 </element> 2370 <element name="odesepsticks" type="integer" min="0" max="1" default="0"> 2371 <description><![CDATA[Each stick gets a separate ODE body (like in MechaStick)]]></description> 2372 </element> 2363 2373 <element name="odeshape" type="integer" min="0" max="1"/> 2364 2374 <element name="odestep" type="float" min="0.001" max="1" default="0.05"/> 2365 2375 <element name="odewaterbuoy" type="float" min="0" max="2" default="1"/> 2366 2376 <element name="odewaterdrag" type="float" min="0.001" max="1" default="0.5"/> 2377 <element name="odeworldcfm" type="float" min="0" max="1" default="1e-05"> 2378 <description><![CDATA[World CFM (constraint force mixing)]]></description> 2379 </element> 2380 <element name="odeworlderp" type="float" min="0" max="1" default="0.2"> 2381 <description><![CDATA[World ERP (error reduction parameter)]]></description> 2382 </element> 2367 2383 <element name="rayIntersection" function="true" type="float"> 2368 2384 <arguments> … … 2418 2434 </arguments> 2419 2435 </element> 2420 <element name="new" function="true" type="Orient"> 2421 <arguments> 2422 <argument name="x" type="float"/> 2423 <argument name="y" type="float"/> 2424 <argument name="z" type="float"/> 2425 </arguments> 2426 </element> 2436 <element name="new" function="true" type="Orient"><arguments/></element> 2427 2437 <element name="normalize" function="true" type="void"><arguments/></element> 2428 2438 <element name="reset" function="true" type="void"><arguments/></element> … … 3551 3561 </element> 3552 3562 <element name="odecol2softcfm" type="float" min="0" max="1" default="0"/> 3563 <element name="odecol2softerp" type="float" min="0" max="1" default="0"/> 3553 3564 <element name="odecolbounce" type="float" min="0" max="1" default="0.1"/> 3554 3565 <element name="odecolbouncevel" type="float" min="0" max="1" default="0.01"/> … … 3560 3571 </element> 3561 3572 <element name="odecolsoftcfm" type="float" min="0" max="1" default="0"/> 3573 <element name="odecolsofterp" type="float" min="0" max="1" default="0"/> 3562 3574 <element name="odemusclemax" type="float" min="0" max="100" default="10"> 3563 3575 <description><![CDATA[i.e. "MMMMM" if f1]]></description> … … 3576 3588 ]]></description> 3577 3589 </element> 3590 <element name="odesepsticks" type="integer" min="0" max="1" default="0"> 3591 <description><![CDATA[Each stick gets a separate ODE body (like in MechaStick)]]></description> 3592 </element> 3578 3593 <element name="odeshape" type="integer" min="0" max="1"/> 3579 3594 <element name="odestep" type="float" min="0.001" max="1" default="0.05"/> 3580 3595 <element name="odewaterbuoy" type="float" min="0" max="2" default="1"/> 3581 3596 <element name="odewaterdrag" type="float" min="0.001" max="1" default="0.5"/> 3597 <element name="odeworldcfm" type="float" min="0" max="1" default="1e-05"> 3598 <description><![CDATA[World CFM (constraint force mixing)]]></description> 3599 </element> 3600 <element name="odeworlderp" type="float" min="0" max="1" default="0.2"> 3601 <description><![CDATA[World ERP (error reduction parameter)]]></description> 3602 </element> 3582 3603 <element name="overwrite" type="integer" min="0" max="1"> 3583 3604 <description><![CDATA[Overwite existing files or create their backups]]></description> … … 3633 3654 <description><![CDATA[This script overrides the experiment definition]]></description> 3634 3655 </element> 3635 <element name="vmdebug" type="integer" min="0" max="1"/>3636 3656 <element name="world" type="World"/> 3637 3657 <element name="wrldbnd" type="integer" min="0" max="2" default="1"/> … … 3654 3674 </element> 3655 3675 <element name="wrldtyp" type="integer" min="0" max="2" default="0"/> 3656 <element name="wrldwat" type="float" min="-20" max=" 30" default="-1"/>3676 <element name="wrldwat" type="float" min="-20" max="50" default="-1"/> 3657 3677 <element name="add" function="true"/> 3658 3678 <element name="addGroup" function="true"/> … … 3752 3772 </arguments> 3753 3773 </element> 3774 <element name="import" function="true" type="void"> 3775 <description><![CDATA[Equivalent to import(filename,2+4+8+6) - imports genotypes, parameters, genepool and population settings]]></description> 3776 <arguments> 3777 <argument name="filename" type="string"/> 3778 </arguments> 3779 </element> 3754 3780 <element name="init" function="true" type="void"> 3755 3781 <description><![CDATA[Performs initialization procedures, like resetting counters, states, gene pools, etc.]]></description> … … 3923 3949 <description><![CDATA[This script overrides the experiment definition]]></description> 3924 3950 </element> 3925 <element name="vmdebug" type="integer" min="0" max="1"/>3926 3951 <element name="world" type="World"/> 3927 3952 <element name="beep" function="true" type="void"> … … 3970 3995 <argument name="filename" type="string"/> 3971 3996 <argument name="options" type="integer"/> 3997 </arguments> 3998 </element> 3999 <element name="import" function="true" type="void"> 4000 <description><![CDATA[Equivalent to import(filename,2+4+8+6) - imports genotypes, parameters, genepool and population settings]]></description> 4001 <arguments> 4002 <argument name="filename" type="string"/> 3972 4003 </arguments> 3973 4004 </element> … … 4239 4270 <description><![CDATA[String.replace("abcdef","cd","X") -> "abXef"]]></description> 4240 4271 <arguments> 4272 <argument name="input_string" type="string"/> 4241 4273 <argument name="search" type="string"/> 4242 4274 <argument name="substitute" type="string"/> … … 4272 4304 <argument name="first character" type="integer"/> 4273 4305 <argument name="number of characters" type="integer"/> 4306 </arguments> 4307 </element> 4308 <element name="substr" function="true" type="string"> 4309 <description><![CDATA[String.substr("abcdef",3) -> ="def"]]></description> 4310 <arguments> 4311 <argument type="string"/> 4312 <argument name="first character" type="integer"/> 4274 4313 </arguments> 4275 4314 </element> … … 4408 4447 </element> 4409 4448 <element name="wrldtyp" type="integer" min="0" max="2" default="0"/> 4410 <element name="wrldwat" type="float" min="-20" max=" 30" default="-1"/>4449 <element name="wrldwat" type="float" min="-20" max="50" default="-1"/> 4411 4450 <element name="wrldchg" function="true" type="void"><arguments/></element> 4412 4451 </type> … … 4443 4482 <argument name="3d direction" type="Vector"/> 4444 4483 <argument name="range" type="float"/> 4484 </arguments> 4485 </element> 4486 <element name="intersect" function="true" type="Vector"> 4487 <description><![CDATA[Works like intersect(3d point,3d direction,range) for inifinite range, that is without limiting the intersection distance]]></description> 4488 <arguments> 4489 <argument name="3d point" type="Vector"/> 4490 <argument name="3d direction" type="Vector"/> 4445 4491 </arguments> 4446 4492 </element> … … 5374 5420 </element> 5375 5421 <element name="wrldtyp" type="integer" min="0" max="2" default="0"/> 5376 <element name="wrldwat" type="float" min="-20" max=" 30" default="-1"/>5422 <element name="wrldwat" type="float" min="-20" max="50" default="-1"/> 5377 5423 <element name="wrldchg" function="true" type="void"><arguments/></element> 5378 5424 </type> … … 5409 5455 <argument name="3d direction" type="Vector"/> 5410 5456 <argument name="range" type="float"/> 5457 </arguments> 5458 </element> 5459 <element name="intersect" function="true" type="Vector"> 5460 <description><![CDATA[Works like intersect(3d point,3d direction,range) for inifinite range, that is without limiting the intersection distance]]></description> 5461 <arguments> 5462 <argument name="3d point" type="Vector"/> 5463 <argument name="3d direction" type="Vector"/> 5411 5464 </arguments> 5412 5465 </element> … … 5533 5586 <type name="CreatureSelection" context="Command line interface"> 5534 5587 <element name="count" type="integer"/> 5535 <element name="add" function="true"/> 5536 <element name="clear" function="true"/> 5537 <element name="get" function="true"/> 5538 <element name="remove" function="true"/> 5588 <element name="add" function="true" type="void"> 5589 <arguments> 5590 <argument type="Creature"/> 5591 </arguments> 5592 </element> 5593 <element name="clear" function="true" type="void"><arguments/></element> 5594 <element name="get" function="true" type="Creature"> 5595 <arguments> 5596 <argument name="index" type="integer"/> 5597 </arguments> 5598 </element> 5599 <element name="remove" function="true" type="void"> 5600 <arguments> 5601 <argument type="Creature"/> 5602 </arguments> 5603 </element> 5539 5604 </type> 5540 5605 <type name="DynaChart" context="Command line interface">
Note: See TracChangeset
for help on using the changeset viewer.