To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.pbforthOpen lugnet.robotics.rcx.pbforth in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / pbFORTH / 365
364  |  366
Subject: 
Bug in HEX handling?
Newsgroups: 
lugnet.robotics.rcx.pbforth
Date: 
Tue, 23 May 2000 02:11:39 GMT
Reply-To: 
sjm@judgement.com%NoMoreSpam%
Viewed: 
1206 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 (...) (24 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
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR