Post by Tom Mulgrew on Apr 18, 2006 2:41:07 GMT -5
Just to let y'all know I've put version 2.3.5 up on the main page.
The biggest change is probably the ability to compile code at runtime. dim code code = Compile("print" + chr$(34) + "Hello world" + chr$(34)) Execute(code)This should open up some interesting possibilities for adding dynamic scripting to programs.
There's also new "lazy and" and "lazy or" instructions, which should make certain conditionals a bit easier to write. dim i, a(10), value value = 3 while i <= 10 land a(i) <> value: i = i + 1: wendfor example (the "land" (lazy and) prevents the application from trying to evaluate a(11) and halting with a runtime error).
I've also relaxed the "can only open files in "files" subfolder" restriction slightly to "can only open files in current folder (or a subfolder thereof)", and added some functions to list the files in a folder.
And I've fixed that annoying (and weird) bug where sounds don't play in standalone exe files.