How to write the "|" char in a script

André Bisseret andre.bisseret at wanadoo.fr
Sat Dec 11 12:04:20 EST 2010


Bonjour,

In a Pulldown Menu (among others), one can have sub-Items for an item (doing tab in the text of the menu)
but when ask for it in the message box, it is coded  as something like "Choice 1| sub 1".

I need to write such an item in the script 
------------
 switch theItem
case "Choice 1| sub 1"
-----------
While I know how to get / or \ ;-)), I can't find out how to write the vertical bar separator in the script!
I mean, what is the keyboard touches combination (if there is one!) to get the vertical character?

Thanks for any reply

Best regards from Grenoble

André





More information about the use-livecode mailing list