Liste des Groupes | Revenir à cl forth |
On Sun, 6 Oct 2024 13:08:56 +0000, FFmike wrote:
FlashForth allows only "." as number punctuation.
This was nonsense, NUMBER? never sees the punctuation anyway.
But I added error handling in case someone puts a double number
punctuation in the string.
: /t ( addr len -- )
'source 2@ >r >r >in @ >r
'source 2! 0 >in !
3 for
[char] : word number?
dup 1 = if
drop
else
2 = if drop else drop 0 then
then
next
r> >in ! r> r> 'source 2!
;
Les messages affichés proviennent d'usenet.