Error loading plugin include
ParseError: syntax error, unexpected 'include' (T_INCLUDE), expecting identifier (T_STRING) or '{'
More info is available in the error log.
ParseError: syntax error, unexpected 'include' (T_INCLUDE), expecting identifier (T_STRING) or '{'
More info is available in the error log.
words:scan
: scan ( addr len c -- addr' len' )
\ Within the string given by ADDR and LEN scan for the first occurances
\ of character C. Return the remaining string denoted by ADDR' and LEN'.
>R
BEGIN ( addr len )
DUP
WHILE ( addr len )
OVER C@ R@ -
WHILE
1 /STRING
REPEAT THEN
R> DROP ;
Tags: ANS-Forth string outer-interpreter WORD
words/scan.txt · Zuletzt geändert: von 127.0.0.1