[Newbies] Storing a negative SmallInterger in a ByteArray

Mispunt mispunt at users.sourceforge.net
Mon Mar 5 10:01:22 UTC 2007


Hi people,

I am a bit confused...
I am working on an implementation to communicate with the Lego
Mindstorms NXT. Al works fine, except I have to store some negative
numbers in the ByteArray that should be send to the NXT. Everytime I
try, I get an improper store into indexable object.

Is it possible to store negative values in a ByteArray?

Mispunt


More information about the Beginners mailing list