pdf of 02/08/2006 (see EasyLanguage Property Reference table C). AsInteger should be acceptable when returning a value through an EasyLanguageVariable. Below is an example C++ code snippet. Please AdviseEasyLanguage Extension SDK
Code: Select all
IEasyLanguageObject *pEL = passed_in_from_powerlanguage_call
IEasyLanguageVariable *p = pEL->Variables[ "some_defined_var_name" ] ;
p->AsTrueFalse[0] = true ; <---- works fine!
p->AsDouble[0] = 1.2345 ; <---- works fine!
p->AsInteger[0] = 12345 ; <---- ERROR, compiler says AsInteger is not a member!