PDA

View Full Version : How Do I Display The Current Version of LScript ?



zapper1998
05-01-2003, 05:09 AM
How do i display the version of LScript

I am Curious on how to do it ??

Please tell

Thank You
Michael


:confused:

LSlugger
05-01-2003, 07:27 AM
I'm using LW 7.5b for Windows. When I click on LScript, LScript/RT, or LSCompiler (Modeler > Construct > Utility > LScript), a dialog box appears with "v2.6" in the title bar.

In LScript 2.6, there is a function called lscriptVersion(). Create a simple script like the following:


main {
info( lscriptVersion() );
}

Save it, then run it. It will display something like "2.6 2 6 0."

zapper1998
05-01-2003, 07:54 AM
:D

Thank you