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