Basic4GL
« Version 2.3.5 released »

Welcome Guest. Please Login or Register.
May 18, 2013, 9:07pm




Basic4GL :: BASIC4GL Boards :: Announcements :: Version 2.3.5 released
   [Search This Thread] [Share Topic] [Print]
 AuthorTopic: Version 2.3.5 released (Read 387 times)
Tom Mulgrew
Administrator
*****
member is offline

[avatar]

[msn]
[homepage]

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
Link to Post - Back to Top  IP: Logged
wybiral
Posts heaps :)
*****
member is offline




[homepage]

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....
Link to Post - Back to Top  IP: Logged
   [Search This Thread] [Share Topic] [Print]

Click Here To Make This Board Ad-Free


This Board Hosted For FREE By ProBoards
Get Your Own Free Message Boards & Free Forums!
Terms of Service | Privacy Policy | Notice | FTC Disclosure | Report Abuse | Mobile