4 Interface Files

A simple interface file for the above SGS example would be:

  ## SGSTEST - Test some SGS, PGPLOT or GKS graphics functions
  
  interface SGSTEST
  
     parameter      DEVICE
        ptype       ’DEVICE’
        position    1
        type        ’GRAPHICS’
        access      ’read’
        vpath       ’prompt’
        help        ’Name of workstation to be used’
        default     xwindows
     endparameter
  
  endinterface

The same interface file can be used with the PGPTEST and GKSTEST programs if the line saying ‘interface SGSTEST’ is replaced by the line ‘interface PGPTEST’ or ‘interface GKSTEST.