Board Thread:Questions and Answers/@comment-24973829-20140805220220/@comment-5106053-20140806015309

Well using just 1 character let's you store values that go from 0-255. If you wanted to use 2 characters, which would let you store values from 0-65535, you could do something like this: Writing: MEM$=CHR$((HP AND 65280)/256)+CHR$(HP AND 255) Reading: HP=ASC(LEFT$(MEM$,1))*256+ASC(MID$(MEM$,1,1))