home *** CD-ROM | disk | FTP | other *** search
/ Big Blue Disk 16 / bbd16.zip / SPL.TXT < prev    next >
Text File  |  1987-11-24  |  3KB  |  59 lines

  1. |D╔═════════════════╗═════════════════════════════════════════════════════════════
  2. |D║ |5Special Program |D║═════════════════════════════════════════════════════════════
  3. |D╚═════════════════╝═════════════════════════════════════════════════════════════
  4.  
  5. ^C^1STRUCTURED PROGRAMMING LANGUAGE
  6. ^Cby
  7. ^CDennis Baer
  8.  
  9.    The Structured Programming Language is what its name implies: a programming
  10. language containing high-level structures not found in BASIC.  It is fairly
  11. similar to Pascal, with procedures, blocks, local variables, control structures,
  12. and the like.  The SPL compiler takes a program in SPL and converts it into
  13. normal BASIC for you to run in your favorite BASIC interpreter or compiler.
  14.  
  15.    Before you attempt to program in SPL, we recommend you read the manual that
  16. is included on this disk in the file MANUAL.  From the DOS prompt you can list
  17. it to your screen with the command "TYPE MANUAL", or to your printer with "COPY
  18. MANUAL PRN" or "PRINT MANUAL".  It's rather long, but it gives a complete
  19. rundown of the SPL commands and structure and how to use the compiler.
  20.  
  21.    To run SPL, type SP with disk 2 of this issue in your drive.  You will be
  22. asked the name of the .SP file to compile, then the .BAS file to compile it to.
  23. Type a name for each, but don't include the extension; .SP is always used for
  24. SPL programs and .BAS for the resulting BASIC code.  Pressing ENTER gives you a
  25. directory of appropriate files in the current drive.
  26.  
  27.    There isn't much room on this disk for your compiled programs, so we
  28. recommend you copy SPL to your own disk so there's room for your source and
  29. object code.  You only need the files SP.EXE and SPA.EXE on your disk; the
  30. documentation and sample files can be deleted from your own disk to make room
  31. for your programs.  (Don't delete anything from the original BIG BLUE DISK,
  32. though; just from copies you make of it.)
  33.  
  34.    The resulting file can be loaded into BASICA or GW-BASIC and run as a normal
  35. BASIC program.  Since the file is saved in ASCII format with its lines in
  36. scrambled order, we recommend you load it into BASICA then save it again, giving
  37. a correctly-ordered file.  Save it in tokenized format (the default for the SAVE
  38. command) if you will use it only in interpreted BASIC; save it in ASCII (with
  39. SAVE "filename",A) in order to make it usable in compilers such as QuickBASIC or
  40. Turbo BASIC.
  41.  
  42.    SPL is a shareware program; the author would like a contribution if you use 
  43. it on a regular basis.  See the README.DOC file for more information.
  44.  
  45. DISK FILES THIS PROGRAM USES:
  46. ^1These two are required to use the SPL compiler:
  47. ^FSP.EXE
  48. ^FSPA.EXE
  49. ^1The following files contain documentation:
  50. ^FMANUAL
  51. ^FREAD
  52. ^FREADME.DOC
  53. ^1The following are sample SPL programs and associated data files:
  54. ^FBLACKJAC.SP
  55. ^FERAT.SP
  56. ^FIPICDUMP.SP
  57. ^FIPLOT.SP
  58. ^FPICTURE
  59.