From: Matthias T. <mt...@we...> - 2008-04-29 06:26:51
|
> Matthias, > > Thanks for the personal reply. > >> emit/key and friends are deferred since they should easily >> re-targettable from the serial to say can or I2C. For number >> there was so such scenario. Why do you want to behave number >> differently? A solution could be to CATCH conversion errors, >> since number THROWs on them > >... or to allow entering double precision numbers. That may be added into the main-stream code base sometimes. Feel free to send a patch ;=) But note, that the number conversion in amforth is only good enough and not fully standard compatible... > Of course I am only playing, but when I used Forth as a sort of > super-monitor on an embedded system controlling a lathe I did this to > allow me to enter hex as $abcd whilst keeping BASE set to 10. Ahh. There are ongoing standardization tasks running with the forth2000x folks on this topic, and I remender a (short) discussion in the usenet (clf) this year around this topic too. We'll see, what will happen. bye Matthias |