BuddyWeiser
Programmer
I have a file, in which each statement reads something like:
"texthere ##-##-##-##-##-## texthere texthere ##-##-####"
What I want to do is search the file, line by line, for ##-##-##-##-##-##, each ## individualy, and have it count how many times all the different ##'s appeared, whatever their value.
I've seen the REMLINE program that comes with QBasic, and, I understand that, in that program you can say... type in a ## and it would remove that ## from the file, anywhere it may be. Instead of removing the number though, I would rather have it count how many instances of that number it finds, but, it has to search the file for 01 through 53 via a loop statement with for n% = 01 to 53...
Anyone have any ideas?
Thanks in advance, for the huge help.
"texthere ##-##-##-##-##-## texthere texthere ##-##-####"
What I want to do is search the file, line by line, for ##-##-##-##-##-##, each ## individualy, and have it count how many times all the different ##'s appeared, whatever their value.
I've seen the REMLINE program that comes with QBasic, and, I understand that, in that program you can say... type in a ## and it would remove that ## from the file, anywhere it may be. Instead of removing the number though, I would rather have it count how many instances of that number it finds, but, it has to search the file for 01 through 53 via a loop statement with for n% = 01 to 53...
Anyone have any ideas?
Thanks in advance, for the huge help.