Object
 
Built-in type providing run-time type information

Syntax

Type object
As fb_BaseVT Ptr vtable_ptr
Declare Constructor()
End Type

Usage

Type typename Extends object
End Type

Dim variable As object

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.

Example

See the Operator Is page

Dialect Differences

  • Not available in the -lang qb dialect unless referenced with the alias __Object.

Differences from QB

  • New to FreeBASIC

See also