You are not logged in.
Tested include files in 6.5.0.2β and everything seems to be working fine.
Is there any way to use more than 1 include file? I tried both:
{$INCLUDE 'path\file 1.inc', 'path\file 2.inc'}
and
{$INCLUDE 'path\file 1.inc'}
{$INCLUDE 'path\file 2.inc'}
but neither worked.
Also, the new Scripts\Example include file.inc has the following comment:
// This file is used for demonstrating the use of {%INCLUDE} directive.
%INCLUDE should be changed to $INCLUDE I guess.
Offline
Is there any way to use more than 1 include file?
Yes, just repeat the {$INCLUDE} directive with different paths. Maybe there is a syntax error in your script?
%INCLUDE should be changed to $INCLUDE I guess.
Fixed. Well spotted.
Offline
Yes, just repeat the {$INCLUDE} directive with different paths. Maybe there is a syntax error in your script?
Not quite sure what I did wrong when I tested it initially, but multiple includes are working fine now.
Did get slightly tripped up while testing because the include file path contained single quotes, until I remembered that those have to be doubled each time since backslash doesn't work as an escape character.
Offline