Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Force 4.0 Reference - endproc code block end (procedure) http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 endproc             Code block end (procedure)
------------------------------------------------------------------------------
 Syntax
   <func>
   [ <params> ]
   [ <code> ]
   endproc

 Arguments
   <func> is a function or procedure declaration.
   <params> is a parameter declaration.
   <code> is the body of code belonging to the function.

 Description
   The endproc keyword terminates a function or procedure body.

 Example
   #define EXAMPLE_KEYWORD
   #include example.hdr

   proc Test static
   ? "Hello world"
   endproc
   
   proc Test_endproc
   Test()
   endproc

   proc main
   Test_endproc()
   endproc

See Also: proc

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson