We see that an input parameter <code>name</code> of type <code>String</code> is declared.
This will automatically be harvested via a pop-up dialog when the script is run.
When the script is completed, we expect to have a <code>String</code> variable named <code>greeting</code> which will be displayed as appropriate, based on the variable type.
Note that if we added an extra comment to the top of our script we would break the script, as the parameters would not be harvested or displayed due to violation of the second parameter rule:
# A simple python script
# @String name
# @OUTPUT String greeting
A Jython script with parameters. # It is the duty of the scripting framework to harvest # the 'name' parameter from the user, and then display # the 'greeting' output parameter, based on its type.
greeting = "Hello, " + name + "!"
Keep this in mind when adding documentation to your scripts.
== Parameter properties ==