|DÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ |Dº |5Special Program |DºÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ |DÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ ^C^1STRUCTURED PROGRAMMING LANGUAGE ^Cby ^CDennis Baer The Structured Programming Language is what its name implies: a programming language containing high-level structures not found in BASIC. It is fairly similar to Pascal, with procedures, blocks, local variables, control structures, and the like. The SPL compiler takes a program in SPL and converts it into normal BASIC for you to run in your favorite BASIC interpreter or compiler. Before you attempt to program in SPL, we recommend you read the manual that is included on this disk in the file MANUAL. From the DOS prompt you can list it to your screen with the command "TYPE MANUAL", or to your printer with "COPY MANUAL PRN" or "PRINT MANUAL". It's rather long, but it gives a complete rundown of the SPL commands and structure and how to use the compiler. To run SPL, type SP with disk 2 of this issue in your drive. You will be asked the name of the .SP file to compile, then the .BAS file to compile it to. Type a name for each, but don't include the extension; .SP is always used for SPL programs and .BAS for the resulting BASIC code. Pressing ENTER gives you a directory of appropriate files in the current drive. There isn't much room on this disk for your compiled programs, so we recommend you copy SPL to your own disk so there's room for your source and object code. You only need the files SP.EXE and SPA.EXE on your disk; the documentation and sample files can be deleted from your own disk to make room for your programs. (Don't delete anything from the original BIG BLUE DISK, though; just from copies you make of it.) The resulting file can be loaded into BASICA or GW-BASIC and run as a normal BASIC program. Since the file is saved in ASCII format with its lines in scrambled order, we recommend you load it into BASICA then save it again, giving a correctly-ordered file. Save it in tokenized format (the default for the SAVE command) if you will use it only in interpreted BASIC; save it in ASCII (with SAVE "filename",A) in order to make it usable in compilers such as QuickBASIC or Turbo BASIC. SPL is a shareware program; the author would like a contribution if you use it on a regular basis. See the README.DOC file for more information. DISK FILES THIS PROGRAM USES: ^1These two are required to use the SPL compiler: ^FSP.EXE ^FSPA.EXE ^1The following files contain documentation: ^FMANUAL ^FREAD ^FREADME.DOC ^1The following are sample SPL programs and associated data files: ^FBLACKJAC.SP ^FERAT.SP ^FIPICDUMP.SP ^FIPLOT.SP ^FPICTURE