Tom Mulgrew Administrator
     member is offline
![[avatar] [avatar]](http://www.avatarsdb.com/avatars/soldier_chicken.jpg)
![[msn] [msn]](http://images.proboards.com/msn.gif)
![[homepage] [homepage]](http://images.proboards.com/buttons/www_sm.gif) Joined: Jul 2003 Gender: Male  Posts: 507
|  | Version 2.3.5 released « Thread Started on Apr 18, 2006, 7:41am » | |
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.
Code: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.
Code:dim i, a(10), value value = 3 while i <= 10 land a(i) <> value: i = i + 1: wend |
|
for 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.
Enjoy, -Tom
| |
|
wybiral Posts heaps 
     member is offline
![[homepage] [homepage]](http://images.proboards.com/buttons/www_sm.gif) Joined: Apr 2006 Gender: Male  Posts: 566
|  | Re: Version 2.3.5 released « Reply #1 on Apr 18, 2006, 4:46pm » | |
You're the man Tom. Maybe I can eliminate my script engine now... And also load the info from other opengl programs and then compile them... Interesting possibilitys....
| |
|