Home > cat > resident 
 en fr de es it nl pl pt pt_BR mk ca hu cs tr ar fa id vi ko ja ru zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Refresh  Search  Administration  
Documentation
History
 
Using reserved keywords as identifiers
To use a Vetia name that is also a Gambas reserved name in your personal Klasë, you must enclose the property name within { }.

Will both cause a compile error Will not
Property Font as Font Property {Font} as Font
Property Left as Integer Property {Left} as Integer

Thus the compiler is kept from interpreting a symbol as a reserved keyword which allows you to use any desired symbol as an Identifikuesi.

This syntax can be used for methods declaration, constants declaration, events declaration, arguments... Anywhere an Identifikuesi is possible!

See also

Deklarimi i vektorëve, Constant Declaration, Deklarimi i ngjarjeve, Deklarimi i ndryshoreve lokale, Deklarimi i metodave, Deklarimi i ndryshoreve