home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / converters / bas2txt_1 / ReadMe < prev   
Text File  |  1995-02-25  |  1KB  |  36 lines

  1.  
  2. /***
  3.  
  4. Here's a little C program I knocked up to convert tokenised BASIC programs to
  5. text files.  They are already available for Archies, but this one is machine
  6. independent.  It can be quite useful for looking at downloaded files on UNIX
  7. or other networked machines.  Basically one HUGE switch construct.  Hope
  8. somebody finds it useful.
  9.  
  10.     Liam Corner
  11.     csubt@csv.warwick.ac.uk
  12.     zenith@dcs.warwick.ac.uk
  13.  
  14.  1.01 - added -n switch
  15.  
  16. ***/
  17.  
  18. /*****************************************************************************/
  19. /* Basic to Text -  Liam Corner March 1992                                   */
  20. /*                                                                           */
  21. /* Converts a tokenised BBC BASIC V file into a text file                    */
  22. /* Does not convert GOTO (or GOSUB) line numbers, but nobody uses those      */
  23. /* anymore, do they :-)                                                      */
  24. /* Please correct any silly mistakes/omissions                               */
  25. /*****************************************************************************/
  26.  
  27. Usage:
  28.  
  29.   bas2txt < basicfile > textfile
  30.  
  31.     converts basicfile to textfile
  32.  
  33.   bas2txt -n < basicfile > textfile
  34.  
  35.     converts basicfile to textfile and outputs line numbers too
  36.