CHAR return zero on no input

master
Clyne 1 year ago
parent f21da699e5
commit 5162349f92
Signed by: clyne
GPG Key ID: 3267C8EBF3F9AFC7

@ -146,7 +146,7 @@
2dup <> while rot repeat 2dup <> while rot repeat
2drop here - here c! here ; 2drop here - here c! here ;
: count dup char+ swap c@ ; : count dup char+ swap c@ ;
: char bl word char+ c@ ; : char 0 here char+ c! bl word char+ c@ ;
: [char] char postpone literal ; imm : [char] char postpone literal ; imm
: ( begin [char] ) key <> while repeat ; imm : ( begin [char] ) key <> while repeat ; imm

Loading…
Cancel
Save