ScriptVM, a script language

Developed or developing a new product in PureBasic? Tell the world about it.
BalrogSoft
Enthusiast
Enthusiast
Posts: 203
Joined: Sat Apr 26, 2003 6:33 pm
Location: Spain
Contact:

Post by BalrogSoft »

Hi, i heard Polo petition, and i made a beta version that supports maths like any compiler, except for priority by math operator, you can use brackets to define the priority, and scriptvm made maths operation from left to right. If someone can test to found bugs and release a final version, you can download the compiler here: http://www.balrogsoftware.com/scriptvm/ ... VMComp.zip
Overwrite to the compiler located on 'Compiler\' directory.

Here is an example to show the new feature:

Code: Select all

Declare var1.l

Extern Str

var1=5*(4-35)/6-(GetTickCount()/1000)

If var1<-34+(5/(4*14))
  MessageBox(0,Str(var1),"Testing",0)
EndIf

EndProgram
Bye...
BalrogSoft
Enthusiast
Enthusiast
Posts: 203
Joined: Sat Apr 26, 2003 6:33 pm
Location: Spain
Contact:

Post by BalrogSoft »

Hi, i updated the new beta of the compiler at 16:23 (forums hour) to solve some bugs found, if nobody found any bug i will made a new official pack with this feature...
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Post by Polo »

thanks, you agree it's a lot better this way :)
can't wait to see more :)
Post Reply