RESURSER

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.

 

See an example of Getters & Setters in action in our Example Applications section.


 

 

More resources