Skip to content

Commit d495d55

Browse files
committed
Add a couple of example Jython scripts
1 parent 367552c commit d495d55

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# @String name
2+
# @OUTPUT String greeting
3+
4+
# A Jython script with parameters.
5+
# It is the duty of the scripting framework to harvest
6+
# the 'name' parameter from the user, and then display
7+
# the 'greeting' output parameter, based on its type.
8+
9+
greeting = "Hello, " + name + "!"
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# A very simple Jython script.
2+
# It is the duty of the scripting framework to display
3+
# the script's return value, based on its type.
4+
5+
"Hello world!"

0 commit comments

Comments
 (0)