Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
58 user(s) are online (47 user(s) are browsing Forums)

Members: 0
Guests: 58

more...

Headlines

Report message:*
 

The AREXX thread (Questions, hints, ideas)

Subject: The AREXX thread (Questions, hints, ideas)
by Raziel on 2021/8/26 15:30:34

Hey fellow scripters,

i'd like to use two seperate "macros" in my AREXX script

...

long and broing arexx script:

EXIT

FirstMacro:
do something important

SecondMacro:
do something even more important

...


How do i tell AREXX to stop after the first macro has been executed and return to the main script?

That works if i only use one macro and the execution reaches EOF, but right now with two macros in place, i call FirstMacro, but AREXX keeps jumping over the SecondMacro destination and tries to execute that as well (which will lead to errors, since it lacks mandatory information not given by calling FirstMacro).

Is there some kind of "end macro" character?
Like a simple ":" at the end of one macro or a turned around leap destination, like ":FirstMacro"?

I didn't find anything in my books.

Thanks a lot

Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project