490 pts.
 Changing color of specs line
We received a question from Subrata, and instead of throwing it to the site experts (we're deluging them with a backlog), I thought I'd ask the question here to see if other users can help. "I want to change the color of an H specs line to white. How do I do this?"

Software/Hardware used:
ASKED: April 18, 2008  6:34 PM
UPDATED: April 19, 2010  4:53 PM

Answer Wiki:
Hi, You'll need to update one of the spaces before the H with a hex value. I think Highlight should give you white text. 20 = Normal 21 = Reverse 22 = Highlight 24 = Underline 26 = Highlight & Underline 27 = Nondisplay 30 = Column separators You can do this using an editor that will let you go into hex mode or you can write a program that will update the position before the H with a hex value. Hope this helps, if you need more info I'll try and find one of my old programs that does this sort of thing. Regards, Martin Gilbert.
Last Wiki Answer Submitted:  April 21, 2008  11:48 am  by  Sweta   30 pts.
All Answer Wiki Contributors:  Sweta   30 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

Although the answer is correct, it should be noted that this change should not be made. Source members are not intended to hold non-text bytes in the source data field.

This isn’t a major problem when all access to source is through SEU. But when access is through a remote system such as a PC using WDSC or RDi or other development toolset, transferring non-text bytes can cause messes in the received data.

Avoid coloring source by inserting hex character codes.

Tom

 110,035 pts.

 

About 10 years ago, we had a developer who liked to “enhance” the appearance of his code with hex values in position 5, just before the H/F/C specs. At first the colors looked cool but when we came back later to work on his programs it became very annoying. I finally wrote a little routine to clear position 5 when I have to work on one of his programs.

Several of us use WDSc/RSE and have had no problems editing and compiling his programs. We suspect that is because he placed his special codes outside the normal coding area.

From time to time we do place display enhancements in comments to draw attention to important information or special compile-time instructions. However, since those codes are in comments they do not cause any problems.

 5,555 pts.