I need to organize input/output from assembler program into same variable. For example, CALLFUNCTION(A,B,C). But it also can be CALLFUNCTION(,,C) or CALLFUNCTION(1,2,3). Is there any safe way to check if text pointed to is variable (e.g. "A") or a constant/formula, without causing syntax error or any other errors?
Skipped variable is tested easily for comma. Checking for input value is easy using FRMEVL, and then seeing accumulator's type. But how do I know that I have variable (which can be used for output) or constant/formula, which can not be used for output?
I would want not to parse BASIC text myself, if there's such call available.
Login or register to post comments

