|
View previous topic :: View next topic
|
| Author |
Message |
hsk
New User
Joined: 28 Nov 2006 Posts: 69 Location: India
|
|
|
|
I have a macro which inserts a lable on current (line at the cursor), does some processing and comes back to original line
something like
/*REXX*/
"ISREDIT LABEL" LNUM "= .JP" ..... LNUM is my current line number
.............. some logic
"ISREDIT LOCATE .JP"
EXIT
This works ok ...
What i want is to exit from the macro without coming back to original line but keeping the lable as it is ....
I observed when i exit the label is automatically "reset" ...
Why this is happening ? Is there any work around ? |
|
| Back to top |
|
 |
dbzTHEdinosauer
Global Moderator

Joined: 20 Oct 2006 Posts: 6965 Location: porcelain throne
|
|
|
|
Suggest you reread the LABEL assignment statement, pay particular attention to 'LEVEL'.
Also, look at the example at bottom of page. |
|
| Back to top |
|
 |
hsk
New User
Joined: 28 Nov 2006 Posts: 69 Location: India
|
|
|
|
| That works .... thanks a lot !!! |
|
| Back to top |
|
 |
dbzTHEdinosauer
Global Moderator

Joined: 20 Oct 2006 Posts: 6965 Location: porcelain throne
|
|
|
|
you are welcome.
thank you for using the link. |
|
| Back to top |
|
 |
|
|