6 ms·
Well, not really. Consider the following: type ItemPtr = ^Item; SomeOtherType = record a,b,c:integer; end; Item = record
by fm77 4y ago
Well, not really. Consider the following:
type
ItemPtr = ^Item;
SomeOtherType = record
a,b,c:integer;
end;
Item = record
Data:string;
Next:ItemPtr;
end;
The first time the parser hits "Item", its not defined.
- pklausler 4y agoPascal require(s|d) a "forward" declaration on such a type, no?