SP Environment Functions


SETEXACT()     Determines if exact is on/off
GETDFP()       Gets SET DEFAULT path
ISLOADED()     Determines  function is loaded or not
RESTSETKEYS()  Restores  set keys saved with SAVESETKEYS()
SAVESETKEYS()  Saves all active set keys to an array, optionally
               clearing them
PRNPORT()      Determine Printer Port to use

SP_PRNPORT

PRNPORT()

  Short:
  ------
  PRNPORT() Determine Printer Port to use

  Returns:
  --------
  <cPort> => port chosen

  Syntax:
  -------
  PRNPORT([cPort1],[cPort2]..[cPort9])

  Description:
  ------------
  Allows user to select printer port for SET PRINTER TO
  output. Printer is set to this port

  [cPort1-9] are valid SET PRINTER TO strings

  LPT1 LPT2 LPT3 COM1 COM2 COM3 COM4 <FILENAME>

  Default is "LPT1","LPT2","LPT3"

  Examples:
  ---------
   cTheport := PRNPORT("LPT1","COM1")

  Source:
  -------
  S_PRNPOR.PRG