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