CompuServe Thread

FSRead problem

1 messages in this thread
#164187From: Andre CoulombeMar 16, 1994 8:24 AM
Steve, Something like this will do whast you want (I did not put error checking for clarity) short number; Str255 numberString; short numBytes; numBytes = 2; // I want to read a short FSRead (ref, &numBytes, &number); // read the file NumToString(number, numberString); // Convert an integer to a Pascal string DrawString(numberString); Hope this help! Andre (I just noticed that Bill had answered your question…Here is mine anayway!