CHAIN

CHAIN F

LOADS THE SOURCE FILE F THEN EXECUTES IT

  • Type: Command
  • Parameter: 1
  • Group: Reference

ACTION

The command CHAIN F loads the source file F and executes it.

F is the absolute or relative name of the file.

The extension .bas is optional.

The absolute name is the entire name, related to the root of the file system.

The relative name is the name of the file related to the current directory (ex: "file.bas").

SYNTAX: CHAIN F

  • F = absolute or relative name of the source file.

USE

  • The command CHAIN is used to execute a source file.

ERROR

  • If F is not a correct name of file.

EXAMPLE

rem lauch the execution of source src.bas

chain "src.bas"

SEE ALSO

-