home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
basic
/
library
/
pb
/
library5
/
lstrange.doc
< prev
next >
Wrap
Text File
|
1990-06-07
|
1KB
|
43 lines
LSTRANGE.EXE
ver 1 6-7-90
By
Michael E. Flenniken
Compuserve 71521,1311
LSTRANGE displays named ranges in Lotus 1-2-3 spreadsheet files. Output
can be viewed on the screen or redirected to the printer or to a file
using standard DOS redirection symbols.
Syntax: LSTRANGE [<path>]<filespec>"
where: <filespec> is the file name of the spreadsheet to read. If no
extension is specified, LSTRANGE will look for <filespec>.WKS
first, and if unseccessful, will look for <filespec>.WK1.
<path> is an optional DOS path specification.
if LSTRANGE is run without <filespec> or with an invalid <filespec>, it
will display the correct syntax as shown above. This will not be
redirected.
You should be able to just load the source code into PowerBASIC and
select Compile to create the EXE file.
I couldn't find a straight foward method of sending output to DOS
stdout. In Turbo Basic I could open "CON" for output, find the DOS file
handle in the TB string segment, and change it &h01, which is the DOS
file handle for stdout. I want to do this with PB when I find out where
PB stores the file buffer handles. If anyone knows a better way than
this or a better way than my StdOut() routine (in FILEUTIL.INC) please
let me know.