Search code examples
informix4gl

Informix 4GL report to screen - Reverse


I have a generated report in Informix 4GL that prints to the screen. I need to have one column displayed in reverse format. I tried the following:

print line_image attribute(reverse)

But that doesn't work. Is this possible at all?


Solution

  • Adding on to the previous answer, you can try the following

    print "\033[7mHello \033[0mWorld"
    

    \033[7m means to print in reverse. And, \033[0m means to go back to standard.