![]() | ||
| Home | SwiftX Archive | SwiftForth Archive | |

(Redirected by "Rick VanNorman" <rick_at_forth.com>)
I wanted to report a peculiar feature of SwiftX 3.0, HC12
version. The compiler accepts n+ or n-, where n is any numeric
digit, as a legal definition, and leaves n 0 in the stack. I just caught by
this when I mistyped 4 + as 4+.
Regards,
David Graham
Graham Automation, Inc.
PO Box 623
McMinnville, OR 97128
(503) 434-8636 Fax (503) 212-0181
dgraham_at_GrahamAutomationInc.com
> Hi David,
>
> That's an artifact of the standard Forth double number conversion. Always
> be very careful with anything that might accidentally be converted to a
> number! One of our competitor's systems defines two words, ED
> and $ED which
> conflict with hex numbers of the same value. Drives me crazy.
>
> Leon
----------------------------------------------------------------------
swiftx_at_forth.com The SwiftX programming discussion email list
To unsubscribe, send subject "unsubscribe swiftx" to listar_at_forth.com
For help with listar commands, send subject "help" to listar_at_forth.com
Archives are located at http://www.forth.com/swiftx -- check them out!
*********** END REDIRECTED MESSAGE ***********
Received on Wed May 30 2001 - 12:32:55 PDT
This archive was generated by hypermail 2.2.0 : Wed Jan 07 2009 - 03:04:23 PST