User Tools

Site Tools


module_specify_class_member_source_file_.htm
Navigation:  Language Reference > 5 - Declaration Attributes > Variable and Entity Attributes >====== MODULE (specify CLASS member source file) ====== Previous pageReturn to chapter overviewNext page

MODULE(sourcefile)

blk2blue.jpg

MODULE Names a MEMBER module or external library file.
sourcefile A string constant. If the sourcefile contains Clarion language source code, this specifies the filename (extension is optional) of the source file that contains the PROCEDUREs. If the sourcefile is an external library, this string may contain any unique identifier.

A MODULE attribute of a CLASS structure names a MEMBER module or external library file which contains the PROCEDURE definitions for the CLASS's member methods. MODULE is only valid on a CLASS structure.

Example:

OneClass CLASS,MODULE('OneClass')   !Method definitions in OneClass.CLW

LoadIt    PROCEDURE                 !LoadIt procedure prototype

ComputeIt PROCEDURE                 !ComputeIt procedure prototype

        END

See Also:

CLASS

MEMBER

LINK

PROCEDURE Prototypes

module_specify_class_member_source_file_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1