In the multiplicative inverses program and the approximate integration program use was made of the conditional branching command => . For example, in the integration program we had the statement
:B=1=>A+2(C-1)Y→X:
This is a useful short way of coding the statements
If B=1 then
Store A+2(C-1)Y in X
EndIf
So if the condition that B=1 is true the statement after => is executed, i.e. A+2(C-1)Y is stored in X, otherwise it is skipped and the next statement after the separator command ':' is executed.
No comments:
Post a Comment