Subject:
|
Bug in HEX handling?
|
Newsgroups:
|
lugnet.robotics.rcx.pbforth
|
Date:
|
Tue, 23 May 2000 02:11:39 GMT
|
Reply-To:
|
{sjm@judgement.com}antispam{}
|
Viewed:
|
1438 times
|
| |
| |
HEX is not working the way I think it should in 1.1.1. Is
this wrong or do I not understand something. This is 1.1.1
pbmax.srec.
ok DECIMAL
ok 65536 DUP .
-1
ok HEX .
-1
Why isn't this ffff?
ok
300b 300b ? undefined word
Isn't 300b a legal hex number? Maybe it is case sensitive.
ok 3000
ok DECIMAL .
12288
ok
This seemed to work. 0x3000 == 12288
I haven't tried this with the firmware that came with the
most recent GUI. I'll try that next.
|
|
Message has 1 Reply: | | RE: Bug in HEX handling?
|
| (...) If you use U. (unsigned dot) you will get FFFF. The "." is for signed numbers. (...) Yes it is, but pbForth is case sensitive. Cheers, Ralph Hempel - P.Eng ---...--- Check out pbFORTH for LEGO Mindstorms at: (URL) ---...--- Reply to: rhempel (...) (25 years ago, 23-May-00, to lugnet.robotics.rcx.pbforth)
|
3 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|