Re: [colorforth] Euler Project Problems.
- Subject: Re: [colorforth] Euler Project Problems.
- From: "Ray St. Marie" <ray.stmarie@xxxxxxxxx>
- Date: Mon, 19 May 2008 23:52:01 -0600
addendum
On Mon, May 19, 2008 at 11:50 PM, Ray St. Marie <ray.stmarie@xxxxxxxxx> wrote:
> Dear Albert, and John
> Ray, yet again.
>
> On Mon, May 19, 2008 at 11:37 PM, Ray St. Marie <ray.stmarie@xxxxxxxxx> wrote:
>> 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
>>
>
> Albert,
>
> Replacing the above with the version of the word you have in the Dutch
> version crashes win32forth.
>
> : ASCII->BINAIR ( char --- double )
> ( Zet een character cijfer om naar de binaire representatie * )
> &0 - U->D
>
> John,
>
> Confirmed. In the Dutch version of the file we find
>
> 0 constant U->D
>
> You are correct, sir. Thank you.
>
> Ray
>
>
> --
> Raymond St. Marie ii,
> colorforthray.info
>
Yes, in my version I did convert the Dutch version of U->D to U>D like
the rest of those defs found about the file.
Ray
--
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