Searching 4 Textfile
Author |
Message |
sockoo
![](http://www.competitiveness.org/ezimagecatalogue/catalogue/variations/149-100x100.jpg)
|
Posted: Wed Jun 14, 2006 5:24 pm Post subject: Searching 4 Textfile |
|
|
Well the title says it how would i go about Searching 4 a textfile supplied by the user ?[/code] |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
TheOneTrueGod
![](http://www.drmcninja.com/images/mcninjab3.jpg)
|
Posted: Wed Jun 14, 2006 5:45 pm Post subject: (No subject) |
|
|
The Turing help is really more help than I can be... use their sample program, and it'll show you quite a bit.
Dir.Exists is the heading that it should be under. |
|
|
|
|
![](images/spacer.gif) |
Clayton
![](http://compsci.ca/v3/uploads/user_avatars/1718239683472e5c8d7e617.jpg)
|
Posted: Wed Jun 14, 2006 5:47 pm Post subject: (No subject) |
|
|
u not just use File.Exists? so much easier, all it does is return a boolean value, so if the file exists, go for it, otherwise, create it ![Very Happy Very Happy](http://compsci.ca/v3/images/smiles/icon_biggrin.gif) |
|
|
|
|
![](images/spacer.gif) |
Bored
![](http://compsci.ca/v3/uploads/user_avatars/7678827054c0296ac1832b.gif)
|
Posted: Wed Jun 14, 2006 6:45 pm Post subject: (No subject) |
|
|
Well I think he means sarch to computer for the file, of known name but unknown directory. Well to do this you would have to create your own procedure and you would need to know and understand the commands Dir.Open, Dir.Get, Dir.Change, and File.Exists. |
|
|
|
|
![](images/spacer.gif) |
|
|