 | | Bug in HEX handling?
|
| 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 (...) (26 years ago, 23-May-00, to lugnet.robotics.rcx.pbforth)
| | |  | | Re: random
|
| What version are you using? I believe random/srandom are broken in all non-CVS versions of legOS. To get the CVS version, head to (URL) and follow the instructions on that page. Should work fine- I just tested the new random() two hours ago and it (...) (26 years ago, 22-May-00, to lugnet.robotics.rcx.legos)
| | |  | | Re: NCQ and LegOS
|
| (...) LegOS, yes. NQC, not as you'd probably like -- although you do get access to 32 register variables, and of course you can use the datalog. (...) With LegOS yes. With NQC and the original firmware, no. With the upcoming release of the new (...) (26 years ago, 22-May-00, to lugnet.robotics.rcx)
| | |  | | random
|
| Hi! Back again with more problems. I want to use random() in my programs and looking in stdlib.h it looks like it is implemented. It says: extern long int random(void); extern void srandom(unsigned int seed); When I didn't have stdlib.h included, I (...) (26 years ago, 22-May-00, to lugnet.robotics.rcx.legos)
| | |  | | Re: NQC and rcx2
|
| All the things I've tried work fine. The only thing I find confusing is the events and control of global objects. Could you try to explain how to set-up and use these features? James Dave Baum <dbaum@spambgoneenteract.com> wrote in message (...) (26 years ago, 22-May-00, to lugnet.robotics.rcx.nqc)
| |