Simon,
The documentation comments in the assembler source agree with you.
; NUMBER? c-addr -- n 1
; -- dl dh 2
; -- c-addr 0 if convert error
dw L_TONUMBER
L_NUMBERQ:
db NFA|7,"number?"
The fix also needs to be made to the most recent wordsAll.txt (line
695), I believe.
PJ
On 11/05/14 00:01, Simon Bradley wrote:
> Hello,
>
> I think I've noticed an error in this file where
> ---------------
> number? ( c-addr -- n/d/c-addr flag )
> Convert string to number
> # is decimal prefix
> $ is hexadecimal prefix
> % is binary prefix
> Flag: 0=error, 1=double, 2=single
> ---------------
>
> I've been testing this with single and double and the flag
> I think should be 1=single, 2=double.
>
> Is this right?
>
> Thanks,
> Simon.
>
>
> ------------------------------------------------------------------------------
> Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
> • 3 signs your SCM is hindering your productivity
> • Requirements for releasing software faster
> • Expert tips and advice for migrating your SCM now
> http://p.sf.net/sfu/perforce
> _______________________________________________
> Flashforth-devel mailing list
> Fla...@li...
> https://lists.sourceforge.net/lists/listinfo/flashforth-devel
|