Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Searching 4 Textfile
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
sockoo




PostPosted: 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]
Sponsor
Sponsor
Sponsor
sponsor
TheOneTrueGod




PostPosted: 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.
Clayton




PostPosted: 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
Bored




PostPosted: 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.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 4 Posts ]
Jump to:   


Style:  
Search: