Please explain use of $ sign in this excerpt from catch_keys.exw wxEuphoria demo.

new topic     » topic index » view thread      » older message » newer message

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

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu