home .. forth .. colorforth mail list archive ..

Re: [colorforth] Euler Project Problems.


Dear Albert,

: ASCII->BINARY ( char --- double )
( Convert a character digit to a binary representation                )

     &0 -
     DUP 0< OVER 9 > OR ABORT" Not a decimal number"
;


I'm sure this is the problem. I'm not sure how this word is supposed
to leave the char as a double?

-- 
Raymond St. Marie ii,
colorforthray.info

---------------------------------------------------------------------
To unsubscribe, e-mail: colorforth-unsubscribe@xxxxxxxxxxxxxxxxxx
For additional commands, e-mail: colorforth-help@xxxxxxxxxxxxxxxxxx
Main web page - http://www.colorforth.com