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 - end declaration block end http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 end                 Declaration block end
------------------------------------------------------------------------------
 Syntax
   <blockinit>
      <statements>
   end

 Arguments
   <blockinit> is a declaration block initiator keyword.

   <statements> is a list of declarations or other statements approprioate
   for the block in question.

 Description
   The end keyword terminates a declaration block. It can be used
   as an abbreviation of the more specific block terminator keywords in the
   following situations:

   ---------------------------------------------------------------------
   declaration block type      initiator keyword      terminator keyword
   ---------------------------------------------------------------------
   variable                    vardef                 enddef
   alias                       dbfdef                 enddef
   index                       indexdef               enddef
   report                      reportdef              enddef
   report group                groupdef               enddef
   report subgroup             subgroupdef            enddef
   report column               columndef              enddef
   label                       labeldef               enddef
   text                        text                   endtext
   procedure                   proc                   endproc
   function                    func                   endfunc
   ---------------------------------------------------------------------

   The end keyword can not be used as a replacement for conditional and
   iterative block ending statements, like endif, endcase and enddo.

 Example
   #define EXAMPLE_KEYWORD
   #include example.hdr

   proc Test_end
   vardef
      uint uNum
   end              // use enddef instead
   text
   Hello world
   end              // use endtext instead
   end              // use endproc instead

   proc main
   Test_end()
   endproc

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