Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.2 . The Guide To CA-Clippe - <b>announce</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 ANNOUNCE
 Declare a module identifier
------------------------------------------------------------------------------
 Syntax

     ANNOUNCE <idModule>

 Arguments

     <idModule> is a module identifier name.

 Description

     ANNOUNCE is a declaration statement that defines a module identifier.  A
     linker may use this identifier later to satisfy pending module REQUESTs.
     ANNOUNCE and REQUEST provide a mechanism for managing application
     modules (.prg files).

     Specify ANNOUNCE statements prior to any executable statements in a
     program file.  A source (.prg) file can only have one module identifier;
     all subsequent ANNOUNCE declarations produce a compiler warning and will
     be ignored.  Module identifiers must be unique and should not duplicate
     the name of any procedures or user-defined functions in a source (.prg)
     file.

 Examples

     .  This example illustrates the ANNOUNCE declaration:

        ANNOUNCE CustomInit

        INIT PROCEDURE MyInit
           ? "Hypothetical Industries, Inc."
           RETURN

        The above program module, CustomInit, should be compiled with the /N
        option.  Subsequently, the program is addressed in the source code of
        another program module through use of the REQUEST statement:

        REQUEST CustomInit

        which causes the module CustomInit to be linked into the resultant
        (.exe) file.

See Also: REQUEST

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