Index: doc/user/06_feature/scripting/rosetta/10_hello/ex.fl =================================================================== --- doc/user/06_feature/scripting/rosetta/10_hello/ex.fl (nonexistent) +++ doc/user/06_feature/scripting/rosetta/10_hello/ex.fl (revision 18961) @@ -0,0 +1,15 @@ +;; An action without arguments that prints hello world in the log window +;; Returns 0 for success. +(define hello + (lambda () + (message "Hello world!\n") + 0 + ) +) + +;; Register the action - action name matches the function name +(define main + (lambda (args) + (fgw_func_reg "hello") + ) +)