× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



> From: Albino Sousa
>
> Thanks to all of you that answer to my question. I did get it to work in
> following way:
>
>
>     if        wapoi <> *blanks
>     eval      xapoi = X'3A'      (now it's blue)
>     eval      xapoi = %trimr(xapoi) + a44cod
>     eval      wapoi = %trimr(wapoi) + xapoi
>     else
>     movel     a44cod        wapoi
>     endif
>
> By the way, i have to change the field in screen from 4 to 5
> positions, cos
> the hex attribute leave only one char free.

Just a quick note... using embedded display attributes like this is
relatively easy on the 5250 display, but it will cause you great
difficulties if you ever need to web enable the program.  HTML doesn't
understand 5250 display attributes, so instead you'll get weird symbols
embedded in your output fields.

Why couldn't you just make two fields, or condition the display attribute
with an indicator, or use a program-described attribute field?




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.