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