Quote:A veriable ALWAYS has a value.
/*****this untested, probably faulty code is Copyright testDummy Enterprises LTD, Hairy Bear Balls Division*****/#define EMPTY 0// function price as is: $0.20 a call// bonus: engine probably complains with dialog if var is 'empty'DLLFUNC var varIsNotEmpty(STRING* _sVarName) { if (_sVarName == EMPTY) { return _VAR(EMPTY); } var* var0 = (var*)engine_getobj(_sVarName->chars); return _VAR((int)var0 != EMPTY);}
Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de