HP Forums

Full Version: HP 49G to 50g: Warning Concerning Zints for Sys Programmers
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
When comparing

ZINT 1

with

Z1_ aka PTR 273B6

using

x==

or

xSAME

the answer returned is

1

ie the two inputs are equal.

However, comparing

{ ZINT 1 }

and

{ Z1_ }

returns

0.

.

Similarly

Z1Z0_ aka PTR 274A9

returns

ZINT 1
ZINT 0

&

Z1Z1_ aka PTR 2756C

returns

ZINT 1
ZINT 1

.
This has always been the case for other types as well, eg
{ %1 } and { % 1 } are not the SAME either. But in UserRPL you cannot create the latter.

Cheers, Werner
Reference URL's