TP>>I am still using QB45 and need to know how to check for the existance of
>>file.. other than being sloppy and using something like:
.....code omitted....
Tom Phillips .....Internet: T.Phillips@phil.node99.com
QB45 is your problem. If you change over to PowerBAsic (this echo)
you can do it easily with
IF DIR$(c:\sub\myfile.ext) > "" then
print "It exists"
else
print "ain't there"
END IF
C'mon over to "our side". Latest version of PowerBASIC is 3.2.
You can use your old QB45 source code. Well, 99% of it. I did.
Peace.
_____oOOo_/00\_oOOo_____ david.roper@mms.raleigh.nc.us
1996 \__/ 201 WINDING BROOK Dr, GARNER NC 27529
--- FLAME v1.1
---------------
* Origin: Full Internet Access $15.00, (919) 779-6674 or MMS.NET (1:151/102)
|