Answer the question
In order to leave comments, you need to log in
How to work with doubly linked lists in delphi?
In Pascal, I studied all the rules.
type celltype = record
info: reki;
next, previous: ^ celltype
end;
list = ^ celltype;
position = ^ celltype;
Answer the question
In order to leave comments, you need to log in
In Delphi, the record language is exactly the same.
class language...
type
TCell = class
public
info: TReki;
next, previous: TCell;
end;
TList = TCell;
TPosition = TCell;
Cell cell
, but in Pascal cell : Cell
it is impossible, it is case-insensitive. It is generally accepted that the type begins with T, the pointer with P. Other prefixes are sometimes added (event - Ev, dynamic array - Da), but types without a prefix are bad form.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question