Convert a string character to Byte?

BlitzMax Forums/BlitzMax Beginners Area/Convert a string character to Byte?

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.

thanks guys. I should have remembered ASC (used to use it years ago), I was looking through the docs and thinking, what is the opposite of chr()!

Ian: I'm surprised that works, but I trust you, so great! I thought that sort of thing only worked with null terminated strings that are fixed length because dynamic strings of any length are not necessarily stored contiguously in the memory and the characters are not single bytes any more. But maybe I'm thinking of Delphi ...