n233dk@tamuts.tamu.edu (Rick Grevelle) (09/05/90)
The START command now accepts algebraic expressions as arguments. This is an additional feature over the 28. Here is a listing of the various arrangements of arguments that the 48 START command will now accept. 2: Real 2: Real 2: Algebraic 2: Algebraic 1: Real 1: Algebraic 1: Real 1: Algebraic If an algebraic is taken as an argument by START, all variables contained in the expression must have globally stored numerical values. START will then evaluate any algebraic expression and return an appropriate value for the loop's beginning, or end, or both. It should also be noted that this additional feature has been extended to FOR as well. So, an example of this would be as follows: 2: 'X^2+X+1' 1: 'Y^3+2*Y' Store 1 in 'X' and 2 'Y'. Execute the loop: << 0 3 ROLLD FOR j j + NEXT >>. The result should be 75. Extended command capabilities such as these are easily documented because it is only necessary to disassemble the first "layer" of the RPL routine. If anyone is interested in knowing how to do this relatively simple task, I'll shall be glad to explain the proceedure. But I will not post disassembled code from the 48 for reason of possible copyright violations. Rick Grevelle