File: TokConstCondTst01.fth

package info (click to toggle)
fcode-utils 1.0.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 46,768 kB
  • sloc: ansic: 9,717; csh: 241; makefile: 129; sh: 17
file content (23 lines) | stat: -rw-r--r-- 473 bytes parent folder | download | duplicates (20)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
\  Common code (insert obligatory sneeze here)
\      for Nested "Constant" Conditionals test

\  Updated Sun, 09 Apr 2006 at 00:22 PDT by David L. Paktor

\  File that FLOADs this has already put TRUE or FALSE on the stack.

f[  constant  boobalah? f]

fcode-version2

: whatziz
    ." This is the "
    f[ boobalah? [if]  f] ." True "  f[  [else]  f] ." False"
    f[  [then]  f]  ."  side of the test." cr
;
headers

fload BooBalah.fth

: whoozis  whatziz  ;

fcode-end