RESOURCES
GETTERS AND SETTERS
Getters and Setters
Programming in 4D has always been logical and easy, and has become even more so in 4D v12.
For harmony and standardization throughout the language, every object now has a symmetric GET and SET function to read and write property commands.
Furthermore, the OBJECT DUPLICATE command can create copies of objects, including all associated properties and object methods.
Note that some of the commands have been renamed since 4D v11 SQL. However, they will be automatically converted when opening your solution under 4D v12.
See an example of Getters & Setters in action in our Example Applications section.








