Another update from ingydotnet^djgoku
This commit is contained in:
parent
91df62d461
commit
948b86eafa
7604 changed files with 108452 additions and 22726 deletions
|
|
@ -1,3 +1,6 @@
|
|||
: empty? ( c-addr u -- ? ) nip 0= ;
|
||||
\ string words operate on the address and count left on the stack by a string
|
||||
\ ? means the word returns a true/false flag on the stack
|
||||
|
||||
s" " dup . empty? . \ 0 -1
|
||||
: empty? ( c-addr u -- ? ) nip 0= ;
|
||||
: filled? ( c-addr u -- ? ) empty? 0= ;
|
||||
: ="" ( c-addr u -- ) drop 0 ; \ It's OK to copy syntax from other languages
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue