INCLUDE

From Lianjapedia
Jump to: navigation, search

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
...