![]() |
| ||
| runtime error 2 I am writing a program for a college assignment to compute grades of students. the code compiles ok, but i keep getting a runtime error 2. can anyone help? {Author: George Brandon Miller} |
| ||
| Re: runtime error 2 I changed the filein:filetype; to fileIn:file; and now i get a runtime error 106...im completely lost...any help? |
| ||
| Re: runtime error 2 Is this a compiler error message? Then 2:Identifier expected,106:Character expression expected |
| ||
| Re: runtime error 2 Quote:
|
| ||
| Re: runtime error 2 ok,calm down a bit....now we know where the problem is,right..?... run your program and look at the line where stops the program and please paste that line,cause I can't run your program because of missing files...I hope that you understand what I'm talking about.... Error 2: Identifier expected. I found this error when reading your code procedure read_record; begin if not Eof(fileIn) then readln(fileIn,SECTION_NUMBER,STUDENT_ID,LAST_NAME,FIRST_NAME,RAW_SCORE) else more_records := False end; |
| ||
| Re: runtime error 2 By the way when I looking your code a bit closer I can't find any records ...why??? Create a new type 'something = record',got it? I made a skeleton Program Solution; |
| All times are GMT -4. The time now is 7:16 am. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC