Open Forum > What's New

ScriptBasic 2.2 Release

(1/4) > >>

Support:
I'm working on getting a 2.2 release of ScriptBasic out to the user base before the end of the year. This release will include fixes, enhancements and new extension modules since the SB 2.1 beta release done by Peter Verhas in 2006.



ScriptBasic IUP binding running on Windows 7 64 bit in 32 bit mode.

Support:
I was able to compile Armando's (AIR) SQLite3 extension module on Windows for the 2.2 release.


--- Code: ---import sqlite.bas

db = sqlite::open("testsql")

sqlite::execute(db,"create table demo (someval integer, sometxt text);")
sqlite::execute(db,"insert into demo values (123,'hello');")
sqlite::execute(db, "INSERT INTO demo VALUES (234, 'cruel');")
sqlite::execute(db, "INSERT INTO demo VALUES (345, 'world');")

stmt = sqlite::query(db,"SELECT * FROM demo")

while (sqlite::row(stmt) = sqlite::SQLITE3_ROW)
  if sqlite::fetchhash(stmt,column) then
    print column{"someval"},"\t-\t",column{"sometxt"},"\n"
  end if
wend

sqlite::close(db)

--- End code ---

C:\scriptbasic\test>scriba t_sqlite3.sb
123     -       hello
234     -       cruel
345     -       world

C:\scriptbasic\test>

Support:
I wrote a remote console debugger client in ScriptBasic to test the bug fixes I made to the sdbg.dll internal preprocessor.


--- Code: ---' ScriptBasic Remote Console Debugger

OPEN "127.0.0.1:6647" FOR SOCKET AS #1

WHILE NOT EOF(1)
  LINE INPUT #1, dbgs
  IF dbgs = ".\r\n" THEN
    PRINT "-> "
    LINE INPUT dbgc
    PRINT #1, dbgc
    IF CHOMP(dbgc) = "q" THEN GOTO Done
  ELSE
    PRINT dbgs
  END IF
WEND

Done:
PRINT "Debug session closed.\n"

--- End code ---



debugtest.sb

--- Code: ---a = 1
b = "JRS"
PRINT a,"\n"
PRINT b,"\n"
PRINTNL

--- End code ---

Support:
I have put together a ScriptBasic 2.2 beta release for Windows 32 bit. I'm still working on the event (callback) interface for the IUP extension module and hope to have something to share in the next beta release.

Unzip this in your C:\ directory and edit your system path to include C:\scriptbasic\bin.

Please give it a try and let me know if you find something that isn't working as it should.

ScriptBasic 2.2 BETA for Windows 32 attached

Support:
Did you download the DLL Pack that Armando (AIR) built that should go in your system32 (WinXP) that the GD extension dynamically links to? (see readme in zip) It's been a few years since Armando assembled these so you may want to check and see if newer versions of these DLLs exist.

Navigation

[0] Message Index

[#] Next page

Go to full version