Reverse Dereferencing?

BlitzMax Forums/BlitzMax Programming/Reverse Dereferencing?

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

I like the fact that I can get the ASCII value of a character within a string by going:
str:String = "Hello"
LastChar = str[4]

but I was a little bummed out that I'm not allowed to do this:
str:String = "Hello"
str[4] = Asc("X")

to change the last character to something else.

This would be a handy feature that is much shorter than using other string handling commands to change the last character (or some other character within the string).

Russell