Index: trunk/doc/user/06_feature/scripting/rosetta/10_hello/ex.rb =================================================================== --- trunk/doc/user/06_feature/scripting/rosetta/10_hello/ex.rb (nonexistent) +++ trunk/doc/user/06_feature/scripting/rosetta/10_hello/ex.rb (revision 18871) @@ -0,0 +1,9 @@ +# An action without arguments that prints hello world in the log window +# Returns 0 for success. +def hello() + message("Hello world!\n") + return 0 +end + +# Register the action - action name matches the function name +fgw_func_reg("hello")