Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Feb 8th, 2005, 6:00 PM   #11
Monkey_features
Newbie
 
Monkey_features's Avatar
 
Join Date: Feb 2005
Posts: 15
Rep Power: 0 Monkey_features is on a distinguished road
Okay, now i'm onto the adding records and this is my code:

procedure TForm1.Button2Click(Sender: TObject);
begin
   AssignFile(carfile, 'car.dat');
   BlockWrite(carfile, car.RegNum, 7);
   BlockWrite(carfile, car.Company, 20);
   BlockWrite(carfile, car.TyreType, 10);
end;

Pretty simple stuff, but i get this error when i try and execute the procedure:

Project Project1.exe raised exception class EInOutError with message 'I/O error 103'. Process stopped. Use step of run to continue.
Monkey_features is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 2:24 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC