By registering with us, you'll be able to discuss, share and private message with other members of our community.
SignUp Now!> Hi,
> I would like to know if it is possible to include files in a 4NT script
> like you can do in C++ with
>
> #include
>
> something like that.
As has been mentioned, you can use the GOSUB command to call into another batch file. One way to use this functionality as an 'include' is to have an Init in the other batch file that sets up the aliases and functions referenced in that batch file. Take a look at my Array Simulation example in the Tips and Tricks\T&T - Scripting forum. It has an Array.btm as an include/lib that is then used by ArrayTest.btm. The URL BB codes must be turned off, but if you can't find it, here is the link to that post: http://www.jpsoft.com/forums/showthread.php?t=141