Terminal control/Inverse video: Difference between revisions

m
→‎{{header|REXX}}: added/changed comments.
m (added whitespace.)
m (→‎{{header|REXX}}: added/changed comments.)
Line 420:
=={{header|REXX}}==
This version only works with PC/REXX and Personal Rexx.
<lang rexx>/*REXX program to demonstrate reverse video. demonstrates the showing of reverse video to the display terminal. */
@day = 'day'
@night = 'night'
 
call scrwrite , 1, @day, , , 7 /*white on black.*/
call scrwrite , 1+length(@day), @nightday, , , 1127 /*blackdisplay to terminal: on white on black.*/
call scrwrite , 1+length(@day), @night, , , 112 /* " " " black " /*stick a fork in it, we're donewhite.*/</lang>
 
exit 0 /*stick a fork in it, we're all done. */</lang><br><br>
 
=={{header|Ring}}==