Gambas/syntax/variables/classes/virtual
< Gambas | syntax | variables | classes
Jump to navigation
Jump to search
Revision as of 18:31, 25 April 2015 by Woozle (talk | contribs) (Woozle moved page Gambas/virtual class to Gambas/syntax/variables/classes/virtual: reorganizing)
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!
|