C style #Includes

Comments on existing version & Suggestions for future versions. If you want a new feature suggest it here. Discussions about beta versions also come in this section.
Post Reply
Twink
Posts: 92
Joined: 2002-08-01 01:40:12

C style #Includes

Post 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)
zion
Posts: 19
Joined: 2002-05-30 14:35:24
Location: Nivelles, Belgium

Post 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 :(
antp
Site Admin
Posts: 9630
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

"uses" should work. Maybe that I did not enable it, I will see how I should do that.
Post Reply