| EX_getBCD | Function (ROM Call 0xBF)

args.h

short EX_getBCD (short n, float *dest);

Gets the nth floating point argument.

EX_getBCD is a somewhat limited TIOS function. It first calls EX_getArg passing n to it. Then, if the argument pointed to by the result of EX_getArg is not a floating point number, EX_getBCD returns FALSE, otherwise it stores the floating point value to the variable pointed to by dest and returns TRUE.

Uses: EX_getArg, estack_to_float