07-06-2007, 07:24 AM
Normally not, but you can use function DynamicMenu or DynamicToolbar to create menu/tb at run time, with variables. Using templates simplifies this.
Example
Menu Menu17
Macro
Menu17 is used as template. %s are replaced with variables.
Example
Menu Menu17
Macro
str m1="Macro1"
str m2="Macro2"
str s.format(_s.getmacro("Menu17") m1 m2)
DynamicMenu s "temp_Menu17"Menu17 is used as template. %s are replaced with variables.
