Class
A
Class is a special
Gambas Object that describes the common features of objects having the same type.
Example of declaration and usage of an own defined class
Create a New Console project
Add a Class (its name will be Class1)
Then from the
SUB Main create two instances of that Class1
See: You have all the Variables the twice: the same structure in each instance.
See: You need to create an instance using the
NEW statement
The code example for the
Class
[gb.markdown].Markup.ProcessCode.1104: Cannot load component 'gb.highlight': cannot find component
The code example for the Main Module
[gb.markdown].Markup.ProcessCode.1104: Cannot load component 'gb.highlight': cannot find component
See also