I don't really understand the GET and SET functions inside of a function. The functions go like this:
Code:
int somefunction() {
Get {
return variable;
}
set {
variable = this;
}
}
Where do you send the variable for set? When was this added? It seems like a neat way to create functions in classes and not have to create a new get/set function for everything.