| ELZED | Documentation | The Details | API |
| lzGetLastResultTypeThe lzGetLastResultType function returns the data type of the last evaluated result in the current context. char lzGetLastResultType();
Parameters
Return Value | A single-character code signifying the data type of the last result. It will be one of the following values:
Code
|
Constant
|
Meaning
|
'C'
|
kTypeComp
|
Complex number
|
'N'
|
kTypeNum
|
Numeric
|
'S'
|
kTypeStr
|
String
|
'B'
|
kTypeBool
|
Boolean
|
'X'
|
kTypeNone
|
No return value
|
|
Remarks | If the current context is shared by multiple threads, there is no way to tell which thread produced the last result. This applies to the primary context and to any which you may create yourself. |
Versions | Introduced in Elzed 1.2.0 | | This page describes the version of lzGetLastResultType active in Elzed 2.5.0 (49: 2.5.0) |
See Also |
| |