Byte Ptrs and ... stuff... I want to know. =]

BlitzMax Forums/BlitzMax Beginners Area/Byte Ptrs and ... stuff... I want to know. =]

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

OK, I have an area of memory located at Somewhere:Byte Ptr which is, say, Ratherlong:Int bytes long ;] I seem to be able to fill out the memory at Somewhere by doing a lot of this:

Somewhere:+Rand(256)

I don't understand how it works, it just seems to work ;] But I can't be sure until I view the contents of this buffer and I have -no- idea how to do that. If someone could give me a little For loop that basically read each byte and printed it out or something that would be dandy, thanks =]

Oh and yes, I've read the docs, but my eyes glazed over half way thru =]