Difference between revisions of "INCLUDE"
From Lianjapedia
Yvonne.milne (Talk | contribs) m (1 revision) |
Yvonne.milne (Talk | contribs) |
||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
Include another source file in the current program | Include another source file in the current program | ||
− | |||
==Syntax== | ==Syntax== | ||
#INCLUDE "<filename>" | #INCLUDE "<filename>" | ||
− | |||
==See Also== | ==See Also== | ||
− | [[COMPILE]], [[DEBUG]], [[DO | + | [[COMPILE]], [[DEBUG]], [[DO]], [[MODIFY COMMAND]], [[PARAMETERS]], [[PROCEDURE]] |
− | + | ||
==Description== | ==Description== | ||
− | The #INCLUDE directive is used to include another source file in the current program. | + | The #INCLUDE directive is used to include another source file in the current program at compile time. |
− | + | ||
− | + | ||
− | + | ||
==Example== | ==Example== | ||
Line 28: | Line 22: | ||
</code> | </code> | ||
− | |||
− | |||
− | |||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Commands]] | [[Category:Commands]] | ||
− | |||
− |
Latest revision as of 12:36, 7 March 2013
Contents
Purpose
Include another source file in the current program
Syntax
#INCLUDE "<filename>"
See Also
COMPILE, DEBUG, DO, MODIFY COMMAND, PARAMETERS, PROCEDURE
Description
The #INCLUDE directive is used to include another source file in the current program at compile time.
Example
//Check user details before proceeding public validuser #include "checklogin.ch" if not validuser return endif ...