Calling function getClass()
in
Programming Questions
•
2 years ago
Why does calling the function getClass return the name of the sketch and not the object that is calling the function?
Say I am working in a sketch named IReflect
and I have a class called Robots.
If I call my_robot.getClass() it returns the class as being IReflect and not as IReflect.Robots
1