I'm creating my own encryption routine. In my function I have a loop that goes through the complete string character by character and finally, concatenating each character (encrypted of course) to the final result (in this case, "x"):
Code:
x = x & Chr(SomeCode) 'where "SomeCode" is for example 255 (last ASCII)
Everything is fine until here. But when this function returns this result ("x"), 255 changes to 63.

And ideas what am I doing wrong??