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

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

I am Curious on how to do it ??

Please tell

Thank You


05-01-2003, 08: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."

05-01-2003, 08:54 AM

Thank you