its really simple
when you use dbOpenToRead("textfile.txt",1); or whatever, then you use dbReadString(1)... that reads the whole first line. if you use dbReadString(1) again it will read the second. if you use it again it will read the third and so on.
the same for dbOpenToWrite... but with dbWriteString(1) or whatever your file number is... note that its hard to get normal strings to work with dark gdk... so instead use chars... for example...
char *variable;
to convert that string to an integer theres the atoi() command...
so if you want to read a number and use it as an integer use it lik this
variable=atoi(dbReadString(1));
that is for reading only... to write a number you have to convert the number to a string... (char *) and then write it... hope it helps
hi