JP Software Forums" <email@example.com>; "luislewis wrote:
| I would like to know if it is possible to include files in a 4NT
| script like you can do in C++ with
| something like that.
"Include" is useful in source files that are compiled into executable
programs. Batch programs, stored in batch files, are interpreted and
executed one command at a time. For over 15 years (since the very first
version of 4NT) the CALL command (as mentioned by Charles Dye) has been
available to execute another batch program in the middle of the current one,
and continue. The called program can contain nothing more than
initialization of variables for the calling program if so desired, but you
must be aware of the scope of variables, esp. if you use SETLOCAL and
explicit or implicit ENDLOCAL.