home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 5 / 05.iso / a / a075 / 1.img / TOOLKIT1.EXE / SST348.PRG < prev    next >
Encoding:
Text File  |  1989-08-08  |  839 b   |  28 lines

  1. *******************
  2.  
  3. FUNCTION Offwindow
  4.  
  5.    IF TYPE("scr_level") = "U"
  6.       RETURN(.F.)
  7.    ENDIF
  8.  
  9.    _pop1 = VAL(SUBSTR(allwindows[scr_level - 1], 1,  2))
  10.    _pop2 = VAL(SUBSTR(allwindows[scr_level - 1], 4,  2))
  11.    _pop3 = VAL(SUBSTR(allwindows[scr_level - 1], 7,  2))
  12.    _pop4 = VAL(SUBSTR(allwindows[scr_level - 1], 10, 2))
  13.    _pop5 = VAL(SUBSTR(allwindows[scr_level - 1], 13, 2))
  14.    scrwrow  = _pop1
  15.    scrwcol  = _pop2
  16.    scrwdown = _pop3 - _pop1 - 1
  17.    scrwover = _pop4 - _pop2 - 1
  18.    _trow = VAL(SUBSTR(allwindows[scr_level - 1], 13, 2))
  19.    _tcol = VAL(SUBSTR(allwindows[scr_level - 1], 16, 2))
  20.    scr_level = IF(scr_level = 1, scr_level, scr_level - 1)
  21.    allscreens[scr_level+1] = ""
  22.    allcolor[scr_level+1] = ""
  23.    allwindows[scr_level] = ""
  24.    @ _trow, _tcol SAY ""
  25.    RETURN(.T.)
  26.    
  27. * End of FIle
  28.