Author Topic: Installing ScriptBasic  (Read 7004 times)

Support

  • Administrator
  • *****
  • Posts: 22
    • View Profile
Installing ScriptBasic
« on: December 29, 2011, 12:22:06 PM »
If you are new to ScriptBasic and would like to give it a try, here are a few helpful tips to get you up and going with the Basic.

The following is based on using runtime versions of ScriptBasic.

Windows

1. Download the SB3 Windows 32 runtime.
2. Install it in a subdirectory of your choice. (I normally install SB in C:\scriptbasic)
3. Add C:\scriptbasic\bin to your search path
4. Create your scriba.conf file. (binary format)

This is a bare bones text version of scriba.conf I use.

scriba.conf.txt
Code: [Select]
dll ".dll"
module "c:\\scriptbasic\\modules\\"
include "c:\\scriptbasic\\include\\"
maxinclude 100
preproc (
  internal (
    dbg "c:\\scriptbasic\\modules\\dbg.dll"
    )
)
maxstep 0
maxlocalstep 0
maxlevel 3000
maxmem 0

To compile the ScriptBasic configuration file to a binary format, do the following at the console command line.

scriba -k scriba.conf.txt

This will create the binary version of your scriba.conf in your WINDOWS / WINXP system directory.
Hint: Move the binary version to the C:\scriptbasic\bin directory where you edited the text version and the binary will be created there from then on.

5. Download the latest IUP for Windows ZIP and put the iup.dll in the modules directory and the iup.bas in the include directory.

That should get you going with ScriptBasic.

I will post a Linux ScriptBasic install summary soon.


    
« Last Edit: December 29, 2011, 03:31:48 PM by support »