In WarBasic, all variables are crossover variables then.
"Set Int pCode, "FLY", 10"
"Set int" tells the VM that the variable you want to set is an integer
"pCode", a number that identifies a script
"FLY", the name of the variable to modify
"10", the value to pass to it.
There is also Set Float, Set Char, Set String, and their equivalent Get functions.
Quote: "If you want to see some source (don't know why) I'd be happy to include some."
Thanks for the offer, but I'm also a bit short on time. I work from 8am to 5pm, then I have classes from 7pm to 11. After that, the only thing I want to look at is my bed.
Quote: "The code is all C++ and Standard Template Library. Very clean code, well documented, object based, broken out into 5 major pieces"
*me hides under desk*
WB is a bit of a mess. I started working on it a year ago, and since then my coding style has changed a few times. Because of this there's a whole bunch of stuff in there that isn't very friendly to others. I even shared a chunck of the code on the forum once, people said they'd have a look and they never said anything again. Probably a medical condition...
AphoticVM status: 30% (Yes, that number just went down.) AphoticBasic status: 10%