sys sb=LoadLibrary libScriba
'
'http://www.scriptbasic.org/docs/dg/devguide_3.3.html
extern
bind sb
{
scriba_new ' @newmem, @freemem
scriba_SetStdin() ' pProgram,@function
scriba_SetStdout() ' pProgram,@function
scriba_SetEmbedPointer() ' pProgram,@function
scriba_LoadConfiguration ' pProgram,filename
scriba_destroy ' pProgram
scriba_DestroySbData ' pProgram, pData
scriba_SetFileName ' pProgram, strptr filename
scriba_LoadSourceProgram ' pProgram
scriba_LoadProgramString ' pProgram, SrcString, len
scriba_Run ' pProgram, strptr commandline
scriba_GetVariable ' pProgram, serial, psbData
scriba_SetVariable ' pProgram, serial, type, longVal, doubleVal, charVal*, size
scriba_LookupVariableByName ' pProgram, strptr name
scriba_LookupFunctionByName ' pProgram, strptr name
scriba_Call ' pProgram, serial
scriba_CallArg ' pProgram, serial,ArgFormString i/r/s/b,args...
scriba_NewSbArgs ' pProgram, string i/r/s/b,args
scriba_CallArgEx ' pProgram, serial,ReturnData,countArgs,*ArgDate
scriba_DestroySbArgs ' pProgram, pArgData, CountArgs
scriba_DestroySbData ' pProgram, pSbData
scriba_NewSbString ' pProgram, char* s
}
end extern