home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / PROG / UTILITY / WISPLNG3.ZIP / -FILE1.WSP next >
Encoding:
Text File  |  1990-12-15  |  1.0 KB  |  36 lines

  1. WISP-WISP-WISP-WISP-WISP-WISP-WISP-WISP-WISP-WISP-WISP-WISP-WISP-WISP-WISP-WISP-
  2. { Demonstrating the use of 2+ files for WISP programs.
  3. { This demo uses 3 files.  L-RUN exits WISP and reloads itself and the named
  4. { file.  This technique is not, we feel, as useful as using the command DSPF
  5. { as show in the MAIN demo program.
  6. { This is FILE1.WSP
  7. CURSOROFF
  8. box/1/1/25/80/1/31/c
  9. print/1/34/ FILE1.WSP /31
  10. blockprint/5/30/5/35
  11.    This demo shows how WISP could be used
  12.    for very large tasks even though a
  13.    single WISP program is limited to 2000
  14.    line of code and text.
  15.    < The only way out of the loop!
  16. ::MENU-ONE
  17.    menu/    CHOOSING FILES    /4/3/5/112/79/79/1/S
  18.         RUN  INTERNAL FILE1  =
  19.         RUN  EXTERNAL FILE2  =
  20.         RUN  EXTERNAL FILE3  =
  21.         EXIT to DOS          =             {an escape route
  22. 2
  23.    PRINT/15/22/WE HAVE RUN INTERNAL INSTRUCTIONS/31
  24.    goto/MENU-ONE
  25. 3
  26.    CLS/0
  27.    L-RUN/WISP FILE2
  28. 4
  29.    CLS/0
  30.    L-RUN/WISP FILE3
  31. 5
  32.    cursoron
  33.    cls/7
  34.    leave
  35. 
  36.