View previous topic :: View next topic
|
Author |
Message |
harry143
New User
Joined: 05 Nov 2007 Posts: 21 Location: hyd
|
|
|
|
Hi,
Through rexx, I am inserting a set of lines in the middle of the program. And to differentiate it from other existing lines I just want to change the colour of the inserted lines through rexx.
Please help me
Regards,
Harish |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Sorry to disillusion You, but it cannot be done |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
One option is to define your own edit panel (a complex mission).
Another option is to draw a flower box around the inserted lines to catch the eye.
O. |
|
Back to top |
|
|
Douglas Wilder
Active User
Joined: 28 Nov 2006 Posts: 305 Location: Deerfield IL
|
|
|
|
I believe that the colors you are referring to are applied by your terminal emulator in response to the attribute bytes. I believe that you are probably referring to viewing the source code through the editor. So the editor would be setting the attribute bytes. You would have to work with the rules these products have for changing the colors. Let us know if you find a way to accomplish this. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
are these inserted lines to be saved with the program upon exit?
if not, you could insert them as note or msg lines.
if so, what has already been said applies. |
|
Back to top |
|
|
harry143
New User
Joined: 05 Nov 2007 Posts: 21 Location: hyd
|
|
|
|
dbzTHEdinosauer wrote: |
are these inserted lines to be saved with the program upon exit?
if not, you could insert them as note or msg lines.
if so, what has already been said applies. |
Yes, I dont want to save them
They can be inserted either as Note or message lines. Anything will be OK
Can you help me how to insert those lines as message lines or note
Waiting for your reply |
|
Back to top |
|
|
Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1353 Location: Israel
|
|
|
|
To insert a note in a file, use the ISREDIT macro command:
Code: |
"ISREDIT LINE_AFTER .ZCSR = NOTELINE 'your message here'" |
you can use LINE_BEFORE instead of LINE_AFTER,
you can use a line number instead of label .ZCSR (line where cursor is)
you can use INFOLINE or MSGLINE instead of NOTELINE
If you want the added line to be part of the data, use DATALINE |
|
Back to top |
|
|
harry143
New User
Joined: 05 Nov 2007 Posts: 21 Location: hyd
|
|
|
|
Thanks to All.
I have used MSGLINE |
|
Back to top |
|
|
|