qpgraph.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
_GrStatus Function
  Summary Details Example                                   Back
 
  Returns
 
    Integer    Success status of most recent graphics call
 
  Description
 
    The _GrStatus function can be used immediately following a call
    to a graphics routine to determine if errors or warnings were
    generated. Return values less than 0 are errors, and values
    greater than 0 are warnings.
 
      Value    Constant
      ═════    ═══════════════════
       0       _GrOK
      -1       _GrError
      -2       _GrModeNotSupported
      -3       _GrNotInProperMode
      -4       _GrInvalidParameter
      -5       _GrFontFileNotFound
      -6       _GrInvalidFontFile
      -7       _GrCorruptedFontFile
      -8       _GrInsufficientMemory
      -9       _GrInvalidImageBuffer
       1       _GrNoOutput
       2       _GrClipped
       3       _GrParameterAltered
 
    After a graphics call, use an IF statement to compare the return
    value of _GrStatus to _GrOK. For example:
 
       If _GrStatus < _GrOK THEN
           { handle graphics error };