Please explain use of $ sign in this excerpt from catch_keys.exw wxEuphoria demo.
- Posted by tmathis May 31, 2010
- 1320 views
Can anyone explain the use of the $ in the following code *msg[$])* and also the [1..$-1] and 1..$-2]* I understand the basics of this but the details of the $ sing I can't seem to find.
if keyIs != 27 then if keyIs = 13 then msg[$] = msg[$][1..$-1] msg = append(msg,"_") elsif keyIs = 8 then deleting if length(msg[$]) > 1 then msg[$] = msg[$][1..$-2] & "_" else if length(msg) > 1 then msg = msg[1..$-1] msg[$] &= "_" end if
Thanks Tim