last char, Unicode and other probs.
Richmond
richmondmathewson at gmail.com
Tue Dec 25 08:46:54 EST 2012
So here I am with a field full of unicodeText
wanting to copy the last character across to another field,
so tried these possibilities:
on mouseUp
set the useUnicode to true
set the unicodeText of fld "OOTPUT" to the last char of fld "INNPUT"
end mouseUp
on mouseUp
set the useUnicode to true
put the charToNum(the last char of fld "INNPUT") into LSTCH
set the unicodeText of fld "OOTPUT" to numToChar(LSTCH)
end mouseUp
and had no joy with either of them.
Any bright ideas would be welcomed; err, quite frankly, at this point
the ideas don't
even have to be bright, they just have to work.
Richmond.
More information about the use-livecode
mailing list