Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
There are no classes in pure Pascal, so a structure with methods (in particular, with a constructor) cannot be made.
An analogue of C-structures in Pascal is the composite type record:
type TName = Record
Str: String[20];
Log: Boolean
end
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question