Code example in the documentation doesn’t work - part 3

You have to declare the function in the .h file.
void CalculateValues();
You can’t just put a function in .cpp and expect it to work.