🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.bbs.comp.program
Article #1601

Cannot use file of MyType,help!

#1601
From: Boen
Date: Tue, 31 Mar 1998 00:00
17 lines
896 bytes
I have define a type like this:
PMyNode=^TMyNode;
  TMyNode = Record
    Name    : String;
    Flight  : Integer;
    Day     : String;
    Next    : PMyNode;
  End;  //  -TMyNode;
MyFile=file of TMyNode;
But the error appear:
Error : Type 'TMyNode' needs finalization - not allowed in
file type
I have looked up online help, it tells me it should be correct?
Can somebody tell me what is wrong?
Please send the answer to  boen.yin@usa.net
Thank you in advance!
Technical Details
Message-ID: <6fr425$hgv$1@www.clinux.ml.org>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fc86e,712700fc831a3e38,start
X-Google-Attributes: gidfc86e,public
From: "Boen" <boen.yin@usa.net>
Subject: Cannot use file of MyType,help!
Date: 1998/03/31
Message-ID: <6fr425$hgv$1@www.clinux.ml.org>
X-Deja-AN: 339498234
X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3
Organization: Chinese Linux User Group
Newsgroups: cn.bbs.comp.program