home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / INFO / BASIC / ADVBS341.ZIP / SOURCE.DOC < prev    next >
Encoding:
Text File  |  1987-05-21  |  1.8 KB  |  43 lines

  1.     Source file information:
  2.  
  3.  
  4.  
  5. SOURCE.ARC contains the source code for all ADVBAS routines.  This consists of
  6. the assembly listings (.ASM files) and a few BASIC demonstration programs.  You
  7. can access these files using the enclosed ARCE utility, by typing
  8. "ARCE SOURCE" (without the quotes).
  9.  
  10. The file MONKEY.BAS is the source for a file time/date/attribute modification
  11. utility.  It provides example usage of the FINDFIRSTF series of ADVBAS
  12. functions, among other things.
  13.  
  14.  
  15.  
  16.      Other source files (outside of SOURCE.ARC):
  17.  
  18.  The file XREF.BAS is the source for a cross-reference generator.  Compile
  19.  this with no switches, and link with ADVBAS in the usual manner.  This
  20.  will provide useful cross-reference listings for your programs, provided
  21.  that they conform to the interpreted BASIC format-- the BASIC program to
  22.  be xreffed must be in tokenized form, and must contain line numbers on
  23.  every line.
  24.  
  25.  The file COMBLINE.BAS is the source for a line combiner.  Compile this
  26.  with no switches, and link with ADVBAS in the usual manner.  COMBLINE can
  27.  be used on programs in interpreted BASIC format to crunch programs down
  28.  to the smallest possible size.  It combines as many lines together as
  29.  possible without changing the program function.  For example:
  30.     10 REM This is a test
  31.     20 PRINT
  32.     30 PRINT
  33.     40 PRINT"This is only a test"
  34.  would be converted into
  35.     10 REM This is a test
  36.     20 PRINT:PRINT:PRINT"This is only a test"
  37.  This is recommended only for debugged BASIC programs.  The code produced
  38.  will be smaller and faster for interpreted programs, and also for
  39.  compiled programs if you are using the DEBUG or ON ERROR options.  You
  40.  need the program to be comblined in both tokenized and ASCII formats
  41.  (TEST.BAS and TEST.ASC, for instance).  Output will be an ASCII file with
  42.  the extension BCS.
  43.