KRASCHE
&
BYRNE
         ELZED  HOME       NEWS       DOCS       DOWNLOADS       LICENSING       SUPPORT       FAQ       ABOUT  US

What's An Elzed?
Features
Licensing
Downloads
Documentation
Elzed News
    ELZED 
 Documentation 
 The Details 
 API 

lzGetLastResultType

The lzGetLastResultType function returns the data type of the last evaluated result in the current context.

char lzGetLastResultType(
   void
);

Parameters

   

None.


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

   Contexts


  Copyright  ©  MMXXV  by  R R Le Cropane   •   All Rights Reserved   •   Terms of Use   •   Privacy Policy