This function can be used to get the serial number of a global variable knowing the name of the variable.
Note that all variables belong to a name space. Therefore if you want to retrieve the global variable foo you have to name it main::foo.
long scriba_LookupVariableByName(pSbProgram pProgram,
The return value is the serial number of the global avriable or zero if
there is no variable with that name.
Note that the second argument, the name of the global variable, is not going under the usual name space manipulation. You have to specify the variable name together with the name space. For example the variable a will not be found, but the variable main::a will be.