Is anybody can help me that if i would like to write a data(say a date) into
a file stream and use the FileRead function to compare the date, can we do
so?

fileHandle = FileOpen (0, "Date.txt", 0,
0, fileModeReadWrite, &error);

FileWrite(fileHandle, &date1, dateStringLength, 1, &error );

FileRead (fileHandle, &date2, dateStringLength, 1,&error1);

i wonder the date1 & date2 are only a buffer. Is there any other alternative
way?

Thank you in advance for the help.




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to