Property
This section covers the definition, syntax, specifications and serialization of Properties What is a Property property is syntactic sugar in Pascal. Externally it behaves like a field, but internally it …
Independent Software Developer Studio
This section covers the definition, syntax, specifications and serialization of Properties What is a Property property is syntactic sugar in Pascal. Externally it behaves like a field, but internally it …
Pascal/FPC operator is pengecekan tipe, as konversi aman, TClass(X) konversi paksa mentah tanpa validasi Penggunaan is dan as 1 Operator is: Deteksi tipe saat runtime Memeriksa apakah instansi objek berasal …
Pascal/FPC оператор is проверка типа, as безопасное преобразование, TClass(X) необработанное принудительное приведение типов Использование операторов is и as 1 Оператор is: Проверка типа во время выполнения Проверяет, принадлежит ли экземпляр …
Pascal/FPC is Type Check, as Safe Cast, TClass(X) Unchecked Raw Cast Usage of is and as 1 is Operator: Runtime Type Detection Check whether an object instance belongs to a …
Kelas, instans kelas, konstruktor, destruktor Dalam contoh di atas terdapat TAnimal dan subkelasnya TDog. Kelas hanyalah sebuah tipe data, dapat dipahami sebagai cetakan. Kelas itu sendiri tidak menyimpan data sama …
Класс, экземпляр класса, конструктор, деструктор В приведённом примере есть класс TAnimal и его подкласс TDog. Класс — это просто тип данных, его можно рассматривать как шаблон. Сам класс не хранит …
Class, Class Instance, Constructor, Destructor The example above includes TAnimal and its subclass TDog. A class is merely a type, which can be understood as a template. The class itself …
Pewarisan, metode virtual, override, reintroduce Contoh pewarisan kelas Object Pascal mendukung pewarisan dan metode virtual. Pada contoh berikut, TDog mewarisi dari TAnimal: TDog adalah subkelas (kelas turunan), sedangkan TAnimal adalah …
Наследование, виртуальные методы, override, reintroduce Пример наследования классов Object Pascal поддерживает наследование и виртуальные методы. В примере ниже класс TDog наследует TAnimal: TDog — подкласс (производный класс), TAnimal — родительский …
Inheritance, Virtual Methods, override, reintroduce Example of Class Inheritance Object Pascal supports inheritance and virtual methods. In the example below, TDog inherits from TAnimal: TDog is the derived class (subclass), …