Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
8
Task/Introspection/Forth/introspection-1.fth
Normal file
8
Task/Introspection/Forth/introspection-1.fth
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
s" MAX-U" environment? [IF]
|
||||
0xffffffff <> [IF] .( Requires 32 bits! ) bye [THEN]
|
||||
[THEN]
|
||||
|
||||
[defined] bloop [if]
|
||||
[defined] abs [if]
|
||||
bloop @ abs
|
||||
[then] [then]
|
||||
11
Task/Introspection/Forth/introspection-2.fth
Normal file
11
Task/Introspection/Forth/introspection-2.fth
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
[hex] 362 [decimal] 4TH# - [if] [abort] [then]
|
||||
|
||||
-32 value bloop
|
||||
[defined] bloop [if]
|
||||
[defined] abs [if]
|
||||
bloop abs . cr
|
||||
[then]
|
||||
[then]
|
||||
|
||||
0 last cell+ first over over - .( User variables: ) .
|
||||
?do i @ + loop .( Sum: ) . cr
|
||||
Loading…
Add table
Add a link
Reference in a new issue