<< Prev        Next >>

ID : 6593

Calling a Procedure from a Program File

A procedure can be called from a program.

A procedure is executed by a Call statement and a Run statement.

Call statement

A Call statement interrupts any running program and executes a called procedure. After the called procedure ends, the interrupted program is resumed.

Procedures that can be designated by a Call statement is only procedures in the same program file. Other program files or procedures of other program files cannot be designated.

To call any procedures of other program files, it is necessary to use a #include statement to load the program file of the procedures you want to call in advance.

ID : 6593

<< Prev        Next >>