home *** CD-ROM | disk | FTP | other *** search
/ back2roots/padua / padua.7z / padua / misc / tinytools.lzh / CHECKLIST / CHECKLIST.MAN < prev    next >
Encoding:
Text File  |  1990-10-10  |  627 b   |  31 lines

  1.  
  2. NAME
  3.     CheckList - Check system list for name.
  4.  
  5.  
  6. SYNOPSIS
  7.     CheckList "namestring" [Task] [Port]
  8.  
  9.  
  10. REQUIREMENTS
  11.     The ARP library
  12.  
  13.  
  14. DESCRIPTION
  15.     This command checks the task list or the port list for a task or
  16.     port with the name you specified. The search is case dependent.
  17.     CheckList returns return code 5 if the name matches a list item.
  18.     If the name doesn't check out, the return code will be zero.
  19.  
  20.  
  21. EXAMPLE
  22.     This batch loads a program FOO, that uses a message port named
  23.     "FOO_port", when FOO hasn't been run already.
  24.  
  25.     CheckList FOO_port Port
  26.     If WARN                ; WARN = 5
  27.        Echo "FOO already loaded!"
  28.     Else
  29.        Run FOO
  30.     EndIf
  31.