Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Flipper 6.0 Help File - <b>hps_state()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
HPS_STATE()
   Return the scanner state to an array.

   Syntax
      aScanState = HPS_STATE(aScanState[24] [,nType])

   Arguments
         aScanState  Return to a Clipper array the scanner settings.
         OPTIONAL PARAMETERS
         nType          0 - current values
                        1 - minimum values
                        2 - maximum values

   Returns
         aScanState  Returns the the scanner settings to a Clipper array.

         aScanState[1]  = data
         aScanState[2]  = dither
         aScanState[3]  = intensity
         aScanState[4]  = contrast
         aScanState[5]  = inverse
         aScanState[6]  = mirror
         aScanState[7]  = auto background
         aScanState[8]  = X resolution
         aScanState[9]  = Y resolution
         aScanState[10] = X scale
         aScanState[11] = Y scale
         aScanState[12] = pel bits
         aScanState[13] = model
         aScanState[14] = ADF
         aScanState[15] = number pels
         aScanState[16] = number bytes
         aScanState[17] = lines
         aScanState[18] = size
         aScanState[19] = units
         aScanState[20] = window start X
         aScanState[21] = window start Y
         aScanState[22] = window extent X
         aScanState[23] = window extent Y
         aScanState[24] = use PCX

   Description
         HPS_STATE() returns a Clipper array filled with the above
         information. The optional parameter cType allows you to return to the
         array the maximum and minmum values for the scanner. If no optional
         parameter is sent, then the array will return the current settings.

See Also: HPS_INQ() HPS_PRINT() HPS_RESET() HPS_SCAN() HPS_SETUP()

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