RAD Studio
ContentsIndex
PreviousUpNext
E2283: Use . or -> to call 'function'

You attempted to call a member function without providing an object. This is required to call a member function.

class X {
   member func() {}
};
X x;
X*xp = new X;
X.memberfunc();
Xp-> memberfunc();
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!