sgs_CodeString [function]
const char* sgs_CodeString( int type, int val )
Returns a string for the enumeration type
value val
.
- There are 4 enumerations to have value names returned for:
- SGS_CODE_ER: error codes (SGS_ERROR, SGS_WARNING, ...);
- SGS_CODE_VT: variable types (SGS_VT_BOOL, SGS_VT_FUNC, ...);
- SGS_CODE_OP: VM instructions (SGS_SI_PUSH, SGS_SI_FORPREP, ... [internal]).