DestroyForage.mac Conversion

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

xander
a lesser mummy
a lesser mummy
Posts: 33
Joined: Thu Apr 22, 2004 11:40 pm

DestroyForage.mac Conversion

Post by xander » Thu Apr 29, 2004 8:30 am

EDIT: Converted and moved to the depot.

Clicky!<----
Last edited by xander on Thu Apr 29, 2004 4:45 pm, edited 2 times in total.
Xander

Marginal
decaying skeleton
decaying skeleton
Posts: 4
Joined: Thu Apr 22, 2004 6:49 am

Post by Marginal » Thu Apr 29, 2004 8:42 am

Outer scope is cleared when the macro ends, so these lines

Code: Select all

 /deletevar LoopCount 
 /deletevar DestroyArray
.. are obsolete

DestArraySize is never declared or initialized

xander
a lesser mummy
a lesser mummy
Posts: 33
Joined: Thu Apr 22, 2004 11:40 pm

Post by xander » Thu Apr 29, 2004 9:18 am

Thanks, they were global, that's why that was there. Added those changes.

There's probably a way around DestArraySize, but I don't know what.

Something like

${DestroyArray.Size} or something...
Xander