If you don't have virtual memory and you want more variables than the memory allows, you could a) optimise you code so you don't need so many! or b) compress part of the memory and decompress it when you need to access the variables (best for variables not accessed very much such as level creation variables or something).
Thing is with Integer is yes it is generally accepted as being 32bits (4 bytes) now but it is really platform dependent, on some comptuers an integer was only 16bits (sometimes called a word) and 32 bits was called long word.
You can display images by uploading to the web and the posting a link in this forum.
One format for a string is an initial byte which stores the length (max 255 chars) and then up to 255 chars (bytes) of text following it. Another format is the text followed by a final 0 byte (the string terminator).
1024 is got by going 2*2 = 4, then 4*2 = 8, 8*2 = 16 and so on e.g. 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024. You may notice that those numbers are all pretty computery right ;-)
Don't forget about Hex (base 16 numbering system) that is very useful for converting to binary and back and is often used to represent a memory address (blue screen of death for instance). PCs can access 4Gb of memory via a 32bit address, in hex you would specify a byte address like so $12569aef (for example); each of the numbers or letters is 4 bits, there are 8 numbers/letters, 8x4 = 32bits.
Thing is with Integer is yes it is generally accepted as being 32bits (4 bytes) now but it is really platform dependent, on some comptuers an integer was only 16bits (sometimes called a word) and 32 bits was called long word.
You can display images by uploading to the web and the posting a link in this forum.
One format for a string is an initial byte which stores the length (max 255 chars) and then up to 255 chars (bytes) of text following it. Another format is the text followed by a final 0 byte (the string terminator).
1024 is got by going 2*2 = 4, then 4*2 = 8, 8*2 = 16 and so on e.g. 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024. You may notice that those numbers are all pretty computery right ;-)
Don't forget about Hex (base 16 numbering system) that is very useful for converting to binary and back and is often used to represent a memory address (blue screen of death for instance). PCs can access 4Gb of memory via a 32bit address, in hex you would specify a byte address like so $12569aef (for example); each of the numbers or letters is 4 bits, there are 8 numbers/letters, 8x4 = 32bits.