|
One of my old utilities has the following: Color Decimal Hex Turquoise 48 30 Red 40 28 White 34 22 Blue 58 3A Pink 56 38 Yellow 50 32 NoColor 32 20 And this is my favorite DS for converting decimal numbers to the hex character equivalent. If you z-add 255 to the field called binary (for instance), the field called hex contains the character whose value is x'FF'. I DS I B 1 20BINARY I 2 2 HEX HTH Regards, Rich ============================================ Rich Duzenbury http://rich.dyn.ml.org http://vpsolutions.com ============================================ > -----Original Message----- > From: owner-midrange-l@midrange.com > [mailto:owner-midrange-l@midrange.com]On Behalf Of PaulMmn > Sent: Thursday, October 22, 1998 7:56 PM > To: MIDRANGE-L@midrange.com > Subject: Re: Colours in DDS/RPG/.. Source > > > >Hi One and All > > > >This small thing is bothering me from a long time. It is > > > >when I am modifying old DDS/RPG/... or any kind of source, I > observed insted > >of regular green leters, I saw Red/White/... different colours > in some lines > >of source. How can do it/achieve it. I asked lot of people but > I did't get > >right answer till this time. > > > >Anybodys answer is greately appreciated. > > > >Thanks > >Reddy N > > > There used to be utilities that would reach out and stuff the proper > attribute bytes into the start of the lines in question in > source members. > > If you know what the attributes are for Red/White/Blink, etc., just write > them to the first byte of a line of source code. > > I'm not sure if you can use a terminal and the HEX key (Do they still > exist?) to input the attributes. > > Beware: Attributes do different things on green screens > compared to color > terminals compared to PCs. > > > --Paul E Musselman > PaulMmn@ix.netcom.com > > > +--- > | This is the Midrange System Mailing List! > | To submit a new message, send your mail to MIDRANGE-L@midrange.com. > | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. > | To unsubscribe from this list send email to > MIDRANGE-L-UNSUB@midrange.com. > | Questions should be directed to the list owner/operator: > david@midrange.com > +--- > +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.