Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- ClipOn 3.0 Reference - c_hidecolor() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 C_HIDECOLOR()

 DESCRIPTION

 C_HIDECOLOR() returns the "hidden" foreground and background of a
 given color.  When the Clipper color is set to the value returned
 by C_HIDECOLOR(), characters typed on the screen can not be seen.

 SYNTAX

 C_HIDECOLOR(color)

 PARAMETERS

 color (C) is the color string for determining the hidden color.

 RETURNS

 C_HIDECOLOR() returns a character string containing the hidden
 foreground and background color extracted from the given color string.

 EXAMPLES

 && Normal color is white on blue and blue on white for gets
 norm_color = "W/B,B/W"

 && The hidden color for norm_color is blue on blue ("B/B")
 hide_color = c_hidecolor(norm_color)

 setcolor(norm_color)          && Set color to normal color

 mpw = space(10)
 @ 1,1  say "Enter Password:"
 setcolor(hide_color)          && Set color to hidden color
 @ 1,18 get mpw                && Get password without seeing characters
 read


See Also: C_REVCOLOR() C_BLINKCOLOR() C_BGCOLOR() C_EXTCOLOR()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson