Inheretance

Need some help with that macro you're working on or aren't quite sure how to get your macro to do something? Ask here!

Moderator: MacroQuest Developers

Zxeses
a ghoul
a ghoul
Posts: 103
Joined: Tue Jan 07, 2003 4:17 pm

Inheretance

Post by Zxeses » Fri Oct 10, 2003 5:48 pm

Does a variable from the main sub get inherated? Specifically:

Code: Select all

Sub Main(myparam)
  :waitloop
    /delay 1
    /doevents
    /goto :waitloop
/return

Sub Event_Chat
   /echo @myparam
/return
-Z-