memblocks are nothing more than data stored in machine format.
Rather than having an integer, float or string such as
a=0
a#=0.0
a$="zero"
You have a byte, word, long word (dword?).
A byte is 8 bits of information, and a bit is either a 1 or a 0.
Words are two bytes, and a long word or double word is 4 bytes.
Because this is data in it's rawest format it can be used to hold and manipulate data very efficiently, such as an object mesh, or a texture file - you can access the individual bytes and play around with them.
Even text can be held in a memblock, you may be aware but there is an ASCII code for every character, much like the scancode but the table is different (
http://www.asciitable.com). Now if memory serves correct (and i'm too lazy to look) then the letter A has a value of 32.
We could put the value of 32 into a byte of a memblock.
Now lets say we write a program the 'scramble' our text. To scramble it we could add a value of 100 to that ASCII value, so we take the 32, and make it 132.
Of course we can do that with other commands too, but memblocks allow us to do this with image data, objects, limbs, sound - anything you want.
They're also quite handy for constructing and decoding multiplayer game packets.
Pneumatic Dryll
