home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 3 Comm / 03-Comm.zip / scrmod.zip / CLOSE.SCR < prev    next >
Text File  |  1992-02-06  |  471b  |  19 lines

  1. > windowshow()
  2. > watch(on)
  3. > delete('\opennew.00?')
  4. > delete('\openold.00?')
  5. > copy('\config.sys','\openold.000',replace)
  6. > nr1 = opennew('\opennew.000',nh1)
  7. > or1 = openold('\openold.000',oh1)
  8. > cr1 = close(nh1)
  9. > cr2 = close(oh1)
  10. > message ('test1, result = ' + valtostr(cr1))
  11. > message ('test2, result = ' + valtostr(cr2))
  12. > message('Press any key to terminate script')
  13. > timeout = 0
  14. > wait()
  15. > delete('\opennew.00?')
  16. > delete('\openold.00?')
  17. > end
  18.  
  19.