On Sat, Dec 11, 2010 at 11:04 AM, André Bisseret <andre.bisse...@wanadoo.fr> wrote: > 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
Hello André, On my US/Windows based keyboard, the "|" character is a shifted backslash "\", located just under the backspace key. The Decimal/Ascii value is 124. numToChar(124) = | Hope that helps. Best regards, David C. _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode