Raised This Month: $ Target: $400
 0% 

Solved Searching in a text file


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-23-2020 , 14:45   Re: Searching in a text file
Reply With Quote #5

Well, in the first post you said "I already read a lot of articles about working with files in pawn" but I no longer believe that this is actually a true statement since you have not shown any effort to read a file.

I actually found one tutorial that does nearly exactly what you're wanting to do. The thread is here and you should look for the filereadtest() function that uses the "new file commands" (fopen, fgets, fclose).

If you are unable to get it working after implementing your code based on this example, attach your .sma file so that we can help you make it work.
__________________

Last edited by fysiks; 08-23-2020 at 14:58.
fysiks is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:44.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode