PDA

View Full Version : Getting the running LScripts path



Kvaalen
02-20-2004, 07:58 AM
I have tried endlessly to get the path of the running LScript within the LScript but couldn't. (I hope that makes sense.)
I did a search but there wasn't anything relevant. Is this possible? If so, how?

It's probably something very simple but I just can't figure it out.

Any help would be appreciated.

#lwrs_web
02-21-2004, 09:55 AM
LScript v2.2 Release Notes:

A new global constant value called SCRIPTID exists in the LScript operating environment.
This constant holds the full path and filename of the script currently being executed.


http://web.archive.org/web/20030622083023/www.lightwave-outpost.com/Bob/index.html

Kvaalen
02-21-2004, 10:09 AM
Hey, thanks a lot!
I've been wondering what happened to Bob Hoods site. I guess i should have thought of checking the archives.

That solves my problem. Thanks again.

#lwrs_web
02-21-2004, 11:09 AM
... I guess i should have thought of checking the archives.

No, NewTek should have simply transferred the Release Notes from the Outpost site to the NewTek SDK page.

Outpost is down for maybe a year now.

There's a lot of information missing for new LScript developers.The pdf docs are missing a lot. The Release Notes are a pain to search, but better than nothing...

sometimes hardcore :)