Get the type of the value that a variable is currently holding. This value can be
long scriba_GetVariableType(pSbProgram pProgram,
long lSerial
){
The argument lSerial should be the serial number of
the variable as returned by @xref{scriba_LookupVariableByName()}.
If there is no variable for the specified serian mumber (lSerial is not positive or larger than the number of variables) the function returns SBT_UNDEF.