Subject:
|
Re: vb variable size
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Mon, 13 Dec 1999 01:41:54 GMT
|
Viewed:
|
808 times
|
| |
| |
Don't feel bad...I made the same mistake myself.
Dave Baum
In article <FMnDv3.HJr@lugnet.com>, "mike mcfarlane"
<mike.mcfarlane@virgin.net> wrote:
> Hi
>
> > The variables are 16 bit signed (-32768 to 32767), but the loop counter is
> > only an 8 bit unsigned (0 to 255). When you set the loop counter from a
> > variable it ignores the high bits and truncates.
>
> Yep you're right Dave and I feel pretty stupid. The loop command is only good
> up to 255, so I'm now using a while...end while. I need to learn to read the
> RCX SDK parameter table a bit better.
> So much to learn, so much fun.
> Cheers ;-)
> Mike
--
reply to: dbaum at enteract dot com
|
|
Message is in Reply To:
| | Re: vb variable size
|
| Hi (...) Yep you're right Dave and I feel pretty stupid. The loop command is only good up to 255, so I'm now using a while...end while. I need to learn to read the RCX SDK parameter table a bit better. So much to learn, so much fun. Cheers ;-) Mike (25 years ago, 12-Dec-99, to lugnet.robotics)
|
4 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|