I think it would be more intutive to create a function such as:
if a
then unicode = 97
end if
if b
then unicode = 98
endif
And then to separate your string into chars using the function tochar().
Reputation Points: 1536
Solved Threads: 431
Posting Expert
Offline 5,865 posts
since Aug 2005