Runtime Error in Pascal

Write here if you have problems with your Pascal source code

Moderator: Board moderators

Post Reply
Erik
Learning poster
Posts: 67
Joined: Fri Jul 01, 2005 11:29 am
Location: Germany
Contact:

Runtime Error in Pascal

Post by Erik »

Hi,

after experiencing unexpected runtime errors while solving a task, I traced the problem down to the following code:

Code: Select all

program RTE_Pascal;

Type
  TRec = record
    Letters: AnsiString;
    Links: Array[1..1] of Pointer;
  end;

Var
  Field: Array[1..1] of TRec;

begin
end.
It dies with signal 11 (SIGSEGV) when submitted for any problem.

Greets, Erik :)
Erik
Learning poster
Posts: 67
Joined: Fri Jul 01, 2005 11:29 am
Location: Germany
Contact:

Post by Erik »

I'm really sorry I at first missed the pascal forum.
I posted it there, sorry again for the trouble. :roll:
Post Reply

Return to “Pascal”