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

3.4.1 Boolean Flags

5380E COERCEFLAG ( T → %1 )
( F → %0 )
Converts system flag to user flag, drops current stream.
2A7CF %0<> ( % → flag )
Can be used to change a user flag into a system flag.
03A81 TRUE ( → T )
0BBED TrueTrue ( → T T )
634F7 TrueFalse ( → T F )
aka: TRUEFALSE
03AC0 FALSE ( → F )
6350B FalseTrue ( → F T )
aka: FALSETRUE
2F934 FalseFalse ( → F F )
0BC01 failed ( → F T )
62103 DROPTRUE ( ob → T )
2F542 (2DROPTRUE) ( ob ob' → T )
5F657 (3DROPTRUE) ( ob1 ob2 ob3 → T )
10029 (4DROPTRUE) ( ob1..ob4 → T )
6210C DROPFALSE ( ob → F )
62B0B 2DROPFALSE ( ob1 ob2 → F )
5F5E4 (4DROPFALSE) ( ob1..ob4 → F )
5F6B1 (5DROPFALSE) ( ob1..ob5 → F )
169A5 NDROPFALSE ( ob1..obn #n → F )
4F1D8 SWAPTRUE ( ob1 ob2 → ob2 ob1 T )
21660 SWAPDROPTRUE ( ob1 ob2 → ob2 T )
62EB7 XYZ>ZTRUE ( ob1 ob2 ob3 → ob3 T )
5DE41 (COLATRUE) ( → T )
Puts TRUE in the stack and drops rest of current stream.
5DE55 RDROPFALSE ( → F )
Puts FALSE 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.
635B0 ORNOT ( flag1 flag2 → flag )
Returns FALSE if either flag is TRUE.
62C55 NOTAND ( flag1 flag2 → flag )
Returns TRUE if flag1 is TRUE and flag2 is FALSE.
62C91 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