Posted by Robert G Laurin on October 24, 2012 at 09:49:19:
In Reply to: what _SHOULD_ happen: HEXASC(CommonVariable$) under C32 posted by Bob A on October 24, 2012 at 07:58:22:
Jim is right, you should check the length aka LEN( ) before flying off the handlebars.
If you are expecting only one byte, I would use the ASC( ) function. It will return a numeric value of the ASCII character. So your space aka '@20@' would return as a 32.
Little trick, whenever you have a string (hex or not), you can use ASC to get the first character's value without doing a substring SUB( ).
Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.