Loads the source code of a ScriptBasic program from a text file.
The return code is the number of errors happened during read.
int scriba_ReadSource(pSbProgram pProgram
Do not get confused! This function only reads the source. Does not compile it.
You will usually need scriba_LoadSourceProgram() that does reading, analyzing, building
and all memory releases leaving finally a ready-to-run code in memory.
Before calling this function the function scriba_SetFileName() should have been called specifying the file name.
See also scriba_ReadSource(), scriba_DoLexicalAnalysis(), scriba_DoSyntaxAnalysis(), scriba_BuildCode().