Very nooB Q here.

Help section from before the user variable changes that broke all macros

Moderator: MacroQuest Developers

macrotoon
a ghoul
a ghoul
Posts: 106
Joined: Wed Sep 18, 2002 4:38 pm

Very nooB Q here.

Post by macrotoon » Sat Sep 21, 2002 9:46 pm

Whats the difference in /call and /goto

/call does this make it run from that point till it gets to the /return
OR
/goto does this make it run from that point till it gets to the /return

TIA

Magnus
a ghoul
a ghoul
Posts: 85
Joined: Sun Aug 11, 2002 3:50 pm

Post by Magnus » Sat Sep 21, 2002 10:10 pm

Basically think of it like this... Call won't interrupt the flow of your script. You will Call a routine it will do that routine and move on at the location where you did the Call. Whereas Goto will cause it to skip everything in the script and actually goto the Sub or task that you have referenced and continue the script from that pt.


Mag

macrotoon
a ghoul
a ghoul
Posts: 106
Joined: Wed Sep 18, 2002 4:38 pm

Post by macrotoon » Sun Sep 22, 2002 12:13 am

Thanks for clearing that up. Ive debugged and changed a couple scripts written for XXX to do YYY for me, but now im trying to combine a couple scripts together.

Thanks again.