Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Force 4.0 Reference - set intensity control the intensity flag http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 set intensity       Control the intensity flag
------------------------------------------------------------------------------
 Syntax
   set intensity on|off

 Arguments
   None.

 Description
   The set intensity command controls the intensity flag. The intensity flag
   is part of the get system. The default setting is on.

   on specifies the get command will use the enhanced color value when
   echoing keyboard input during a read.

   off specifies that the get will use the standard color value when
   echoing keyboard input during a read.

 Example
   #define EXAMPLE_IO
   #include example.hdr

   proc Test_setintensity
   vardef
      char( 20 ) cName
      uint       nAge
   enddef
   cName := "Wanda"
   nAge := 19
   clear
   set delimiters to "[]"
   set delimiters on
   // different gets during the same read can have different values for
   // the intensity flag
   set intensity on
   set intensity on
   @ 4, 3 get cName
   set intensity off
   @ 5, 3 get nAge
   read
   endproc

   proc main
   Test_setintensity()
   endproc

See Also: getintensity()

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