Archive: Small problem


Small problem
I found a small problem (think it's an error by design) but ${__LINE__} is reset when used in an !include file.

It's a problem when used in labels because we get ${__LINE__} being the same twice in the same script (could be line 11 in main script, and then 11 again in the included script).

Perhaps a solution would be to get ${__LINE__} to be added on from where it left off (at the !include call)?

-Stu


${__LINE__} was not designed for that purpose. If you want a globally unique verifier you can throw in ${__FILE__} and even ${__TIMESTAMP__}.


Good idea. ${__FILE__} would do the trick for !includes.

-Stu