ContextMenu[New] - construct a new context menu module
|
Examples of ContextMenu[New]
|
|
|
Replace the default context menu with a new context menu.
|
| (1) |
>
|
newCM[Entries][Add]("Multiply by 2", "2*%EXPR", numeric);
|
| (2) |
>
|
newCM[Queries][Add]("Divisible by 2", proc(p) evalb(p mod 2 = 0) end proc);
|
>
|
newCM[Entries][Add]("Divide by 2", "%EXPR/2", integer, 'test'="Divisible by 2");
|
| (3) |
|
|
Download Help Document
Was this information helpful?