October 13, 2004 Dominic Lefevre
It may appear that text-based screens are dead, but looks can be deceiving. Text-based interfaces, or “green screens,” are still very widely used, and not just on iSeries systems. What’s more, text-based systems are not going away anytime soon, because they’re effective and easy to develop. As long as we still have to write them, we might as well have a little fun, right? One of the ways to have fun writing green-screen programs is by using P-fields.
LOOK, MA, NO INDICATORS!
P-fields are one-byte codes that control the color and attributes of a field in a display file. Before