Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Parameters field is used to pass values into your SIL SIL™ program. To add a parameter click the Add Parameter button.

Note
titleNotes
  • Parameter names must be unique, otherwise the most recent definition will overwrite the previous ones. This includes parameters with no name.
  • You can customize the gadget to be more user friendly, by asking parameters in a different way. You can find more details here.



The parameters will be passed into the program using the argv variable. The values will be available using a construct like argv["parameter_name"] or argv[position]. For the above example, the number of rockets can be retrieved using argv["rockets"] or argv[2]. You can reorder the parameters using drag and drop.

...