Quoting Peter Smithson <[log in to unmask]>:
> Hi,
>
> I've not seen SPL before.
>
> What does
>
> IF < THEN
>
> mean?
>
> I've a feeling it's checking the return code of an intrinsic call. So
> perhaps it's checking for CCL. The intrinsics can return CCL, CCE or
> CCG but there are a lot more operations in SPL so I'm not sure.
>
> Can someone explain?
>
> Thanks.
>
> Peter
You're correct - the IF THEN is testing the condition code returned by the
immediately preceeding intrinsic call that placed the value of the condition
code on the top of the stack. You have to be very careful to test the condition
code immediately after the call as any other operation that would affect the top
of stack will change your results.
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *