l1, libs: replaced "(SET-DOES>)" with more logical "(!DOES>)" (this hints at argument...
[urforth.git] / samples / scolon.f
blob2712841ae25bd0d0363abf72a2ed891d1a2ed4d8
1 ;; scattered colon example
2 ;; based on the idea by M.L. Gassanenko ( mlg@forth.org )
3 ;; implemented from scratch by Ketmar Dark
5 : init ... ." init complete\n" ;
6 init
8 .( =================\n)
9 ..: init ." init phase1\n" ;..
10 init
12 .( =================\n)
13 ..: init ." init phase2\n" ;..
14 init
16 .( =================\n)
17 ..: init ." init phase3\n" ;..
18 init
20 .( =================\n)
21 ..: init ." init phase4\n" ;..
22 init
24 .( =================\n)
25 ..: init ." preinit phase 1\n" <;..
26 init
28 .( =================\n)
29 ..: init ." preinit phase 0\n" <;..
30 init
32 .( =================\n)
33 ..: init ." init phase5\n" ;..
34 init
36 .( =================\n)
38 .( =================\n)
39 : init2 ... ." init2 complete\n" ;
40 init2
42 .( =================\n)
43 ..: init2 ." pteinit2 phase1\n" <;..
44 init2
46 .( =================\n)
47 ..: init2 ." init2 phase0\n" ;..
48 init2
50 .( =================\n)
51 ..: init2 ." pteinit2 phase0\n" <;..
52 init2
54 .( =================\n)
55 ..: init2 ." init2 phase1\n" ;..
56 init2
58 .stack
59 bye