Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Some more questions
#9
OK

Now:

i have a toolbar, with 4 macros in it

item1 :mac "1"
item2 :mac "2"
item3: mac "3"
item4: mac "4"
int+ GlobalVariable

item4 is a menu macro

item4:
int- MenuVariable
sub1: mac "5"
sub2: mac "6"
sub3: mac "7"


1. i tried to declare a variable common to ALL macros (1 to 7). So i put i in the toolbar declaration.
Problem it appears in the toolbar. How to avoid that?
Is the "+" sign correct here : int+ GlobalVariable

2. i want to declare a variable only visible in item4 macro, so only for macros 4 to 7
is int- MenuVariable correct? And i don't want it in the menu too

So if MenuVariable=0 at declaration in item4, and mac 5 adds 5, etc,
out MenuVariable should be 5, 6 or 7 depending on the menu macro played, right?
but in macro 3 it should raise an exception as it is unknow.
Correct?


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)