[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

3.4.1 Boolean Flags

2602B COERCEFLAG ( T → %1 )
( F → %0 )
Converts system flag to user flag, drops current stream.
301BA %0<> ( % → flag )
Can be used to change a user flag into a system flag.
03A81 TRUE ( → T )
27E87 TrueTrue ( → T T )
36540 TrueFalse ( → T F )
aka: TRUEFALSE
09378 (TRUESWAP) ( ob → T ob )
03AC0 FALSE ( → F )
36554 FalseTrue ( → F T )
aka: FALSETRUE
283E8 FalseFalse ( → F F )
27E9B failed ( → F T )
35280 DROPTRUE ( ob → T )
2D7006 ^2DROPTRUE ( ob ob' → T )
28DAB (3DROPTRUE) ( ob1 ob2 ob3 → T )
35289 DROPFALSE ( ob → F )
35B32 2DROPFALSE ( ob1 ob2 → F )
28D38 (4DROPFALSE) ( ob1..ob4 → F )
28E05 (5DROPFALSE) ( ob1..ob5 → F )
28211 NDROPFALSE ( ob1..obn #n → F )
2812F SWAPTRUE ( ob1 ob2 → ob2 ob1 T )
374AA (SWAPFALSE) ( ob1 ob2 → ob2 ob1 F )
374BE SWAPDROPTRUE ( ob1 ob2 → ob2 T )
28239 (SWAPDROPFALSE) ( ob1 ob2 → ob2 F )
35EF2 XYZ>ZTRUE ( ob1 ob2 ob3 → ob3 T )
2962A RDROPFALSE ( → F )
Puts FALSE in the stack and drops rest of current stream.
29616 (RDROPTRUE) ( → T )
Puts TRUE in the stack and drops rest of current stream.
03AF2 NOT ( flag → flag' )
Returns FALSE if the input is TRUE, and vice-versa.
03B46 AND ( flag1 flag2 → flag )
Returns TRUE if both flags are TRUE.
03B75 OR ( flag1 flag2 → flag )
Returns TRUE if either flag is TRUE.
03ADA XOR ( flag1 flag2 → flag )
Returns TRUE if flags are different.
365F9 ORNOT ( flag1 flag2 → flag )
Returns FALSE if either flag is TRUE.
35C7C NOTAND ( flag1 flag2 → flag )
Returns TRUE if flag1 is TRUE and flag2 is FALSE.
35CB8 ROTAND ( flag1 ob flag2 → ob flag )
Returns TRUE if either flag is TRUE.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated by Carsten Dominik on May, 30 2005 using texi2html