Gambas/syntax/variables/classes/virtual

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
< Gambas‎ | syntax‎ | variables‎ | classes
Revision as of 02:06, 1 July 2013 by Woozle (talk | contribs) (Woozle moved page virtual class (Gambas) to Gambas/virtual class: subpage)
Jump to navigation Jump to search

Overview

In Gambas, a virtual class is a class containing one or more virtual methods, i.e. methods whose interface has been defined but whose implementation has not been. This is similar to the usage of the term in other languages.

In Gambas, virtual methods are always named beginning with a ".", e.g. ".ListViewItem".

It is not quite clear from the documentation, but it appears that virtual methods can only be instantiated using C++; see writing classes in Gambas.

This page is a seed article. You can help HTYP water it: make a request to expand a given page and/or donate to help give us more writing-hours!