scope of "set useUnicode"
Posted: Thu May 12, 2011 10:01 pm
I have read Devin Asay's article at /spaces/lessons/buckets/1412/lessons/20441-Unicode on typing and displaying Unicode in text entry fields, and I can do everything he describes. Thanks, Devin!
He never mentions storing Unicode text in variables and displaying it from variables, but that works, too. It should be added to the write-up.
What I don't understand is the scope of the statement "et the useUnicode to true."
Does it affect only the command that follows it, or the rest of the handler, or the current script, or the stack? Can I declare it after opening the main stack, and then use numToChar() and charToNum() anywhere in the application?
Grateful for any tips,
Slava
He never mentions storing Unicode text in variables and displaying it from variables, but that works, too. It should be added to the write-up.
What I don't understand is the scope of the statement "et the useUnicode to true."
Does it affect only the command that follows it, or the rest of the handler, or the current script, or the stack? Can I declare it after opening the main stack, and then use numToChar() and charToNum() anywhere in the application?
Grateful for any tips,
Slava