pekr wrote:
> When we are building menu for e.g., we think in terms of menu, not this
face here, this over there, etc. So:
>
> main "File" #"F"
>          "Print-setup" #"P"
>          "Something" #"o" sub "ble"

I quite like this dialect approach:

Menu [
    File "File" #"F" [
        New "New" #"N"
        Save-As "Save As" #"A"
        Exit "Exit" #"x"
        ]
    Edit "Edit" "#E" [
        Cut "Cut" #"t"
        Copy "Copy" #"c"
        ]
    ]

Then:
        Menu/Edit/Cut
    refers to the Cut menu item in the Edit menu in the File Menu.

Andrew Martin
I'll have Rebol #1, thanks!
ICQ: 26227169
http://members.nbci.com/AndrewMartin/
http://members.xoom.com/AndrewMartin/
-><-

Reply via email to