home *** CD-ROM | disk | FTP | other *** search
/ Boston 2 / boston-2.iso / DOS / PROGRAM / BASIC / POWBASIC / LIBRARY5 / LSTRAN.ZIP / LSTRANGE.DOC < prev    next >
Text File  |  1990-06-07  |  1KB  |  43 lines

  1.  
  2.  
  3.                               LSTRANGE.EXE
  4.                              ver 1   6-7-90
  5.  
  6.                                    By
  7.  
  8.                           Michael E. Flenniken
  9.  
  10.                          Compuserve 71521,1311
  11.  
  12.  
  13. LSTRANGE displays named ranges in Lotus 1-2-3 spreadsheet files.  Output 
  14. can be viewed on the screen or redirected to the printer or to a file 
  15. using standard DOS redirection symbols.
  16.  
  17.  
  18.  
  19. Syntax:  LSTRANGE [<path>]<filespec>"
  20.  
  21. where:  <filespec> is the file name of the spreadsheet to read.  If no
  22.            extension is specified, LSTRANGE will look for <filespec>.WKS 
  23.            first, and if unseccessful, will look for <filespec>.WK1.
  24.         <path> is an optional DOS path specification.
  25.  
  26. if LSTRANGE is run without <filespec> or with an invalid <filespec>, it 
  27. will display the correct syntax as shown above.  This will not be 
  28. redirected.
  29.  
  30.  
  31. You should be able to just load the source code into PowerBASIC and 
  32. select Compile to create the EXE file.
  33.  
  34.  
  35.  
  36. I couldn't find a straight foward method of sending output to DOS 
  37. stdout.  In Turbo Basic I could open "CON" for output, find the DOS file 
  38. handle in the TB string segment, and change it &h01, which is the DOS 
  39. file handle for stdout.  I want to do this with PB when I find out where 
  40. PB stores the file buffer handles.  If anyone knows a better way than 
  41. this or a better way than my StdOut() routine (in FILEUTIL.INC) please 
  42. let me know.
  43.