Programming Forums
User Name Password Register
 

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

Reply
 
Thread Tools Display Modes
Old Jul 5th, 2005, 3:14 AM   #1
The_Iddiot
Newbie
 
Join Date: Jul 2005
Posts: 6
Rep Power: 0 The_Iddiot is on a distinguished road
opening File problem

i am using delphi 2005
i am trying to open a text file using the code

filename := 'file.sco';
AssignFile(FileVar,filename);
Reset(FileVar);

when i attempt to compile the program it stops on

Reset(FileVar);

and provides the error

[Error] highscores.pas(80): E2034 Too many actual parameters

i have looked at the help file and i can see nothing different to what i am doing compared to the help file

i have used this code before in the way with no problems what might be going wrong and does anyone have a solution

Regards
Kelvan
The_Iddiot is offline   Reply With Quote
Old Jul 9th, 2005, 9:02 PM   #2
The_Iddiot
Newbie
 
Join Date: Jul 2005
Posts: 6
Rep Power: 0 The_Iddiot is on a distinguished road
it appares that i have solved the problem some wrong declearations in unit i created caused it

>_<
kelvan
__________________
my name says it all the iddiot -_-
The_Iddiot 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 1:28 PM.

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