D
Darren Stribling
Hi Guys and Girls,
I'm trying to read from a file
The file contains call numbers, a variable amount.
The call numbers come after an identifier NOTF
I then want to put all the data after NOTF into a file, but call the file
the name of the unique call number.
so:
while (file not empty)
read (input file) // line by line
if (input file) = NOFT
create file (name of preceding call number)
put (data after NOTF)
until (next NOTF)
}
}
}
Sorry for the VERY bad psuedo code.
Regards,
Darren
I'm trying to read from a file
The file contains call numbers, a variable amount.
The call numbers come after an identifier NOTF
I then want to put all the data after NOTF into a file, but call the file
the name of the unique call number.
so:
while (file not empty)
read (input file) // line by line
if (input file) = NOFT
create file (name of preceding call number)
put (data after NOTF)
until (next NOTF)
}
}
}
Sorry for the VERY bad psuedo code.
Regards,
Darren