Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
12
Task/Introspection/Oforth/introspection.oforth
Normal file
12
Task/Introspection/Oforth/introspection.oforth
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
: bloopAbs
|
||||
| bl m |
|
||||
System.VERSION println
|
||||
|
||||
Word find("bloop") ->bl
|
||||
bl isA(Constant) ifFalse: [ "bloop constant does not exist" println return ]
|
||||
|
||||
"abs" asMethod ->m
|
||||
m ifNull: [ "abs method does not exist" println return ]
|
||||
|
||||
System.Out "bloop value is : " << bl value << cr
|
||||
System.Out "bloop abs is : " << bl value m perform << cr ;
|
||||
Loading…
Add table
Add a link
Reference in a new issue