How to write the "|" char in a script

Bob Sneidar bobs at twft.com
Mon Dec 13 13:18:38 EST 2010


For my Mac, it's shift-backslash. 

Bob


On Dec 11, 2010, at 9:04 AM, André Bisseret 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
> 
> Best regards from Grenoble
> 
> André
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list