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 - endfunc code block end (function) http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 endfunc             Code block end (function)
------------------------------------------------------------------------------
 Syntax
   <func>
   [ <params> ]
   [ <code> ]
   endfunc

 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 endfunc keyword terminates a function or procedure body.

 Example
   #define EXAMPLE_KEYWORD
   #include example.hdr

   func char Test static
   return( "Hello world" )
   endfunc
   
   proc Test_endfunc
   ? Test()
   endproc

   proc main
   Test_endfunc()
   endproc

See Also: func

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