<< Click to Display Table of Contents >> Navigation: ThinBASIC Core Language > Module Classes > New operator |
Description
Instantiate a new class variable calling default class constructor (if any)
Syntax
ClassVariable = New ClassName[(parameters)]
Returns
Parameters
Name |
Type |
Optional |
Meaning |
ClassName |
Class |
No |
Every thinBasic module can optionally define and declare to thinBasic Core engine one or more classes. Classes are special kind of interfaces able to instantiate a class object (or ClassVariable). See specific module help to see if it exports module classes.
An example o module classes: cTimer in Core module |
Remarks
Restrictions
See also
Examples