Page 1 of 1

C style #Includes

Posted: 2002-10-09 23:04:46
by Twink
Lets face it, everyone likes their script alittle different from everyone else, but when IMDB do a change (like seen a few weeks ago) everyone has to update their scripts, some more than others.

if we could have some kinda of Include system where we could insert script modules into our script with like a c style (or whatever Ant wants)

#Include "modulename"

then when imdb changes only that one module needs to be updated for all the scripts with the include command. would help me alot anyway as I have like 6 scripts that are very similar but have minor differences (ie movie that already has URL)

Posted: 2002-10-09 23:25:25
by zion
In pascal this is

Uses UnitName;

The script should support this, but I don't know if antoine did implement this... I've just tried but it doesn't seems to work :(

Posted: 2002-10-10 07:29:57
by antp
"uses" should work. Maybe that I did not enable it, I will see how I should do that.