Object
Built-in type providing run-time type information
Object is a built-in type which provides run-time type information for all types derived from it using Extends, allowing them to be used with Operator Is, and to support Virtual and Abstract methods.
Extending the built-in Object type allows to add an extra hidden vtable pointer field at the top of the Type. The vtable is used to dispatch Virtual and Abstract methods and to access information for run-time type identification used by Operator Is.
Syntax
Usage
Description
Object is a built-in type which provides run-time type information for all types derived from it using Extends, allowing them to be used with Operator Is, and to support Virtual and Abstract methods.
Extending the built-in Object type allows to add an extra hidden vtable pointer field at the top of the Type. The vtable is used to dispatch Virtual and Abstract methods and to access information for run-time type identification used by Operator Is.
Example
Dialect Differences
- Not available in the -lang qb dialect unless referenced with the alias __Object.
Differences from QB
- New to FreeBASIC
See also