Question
· Sep 15, 2016

difference between method and ClassMethod of Class definition

What are the difference between method()  and ClassMethod()  in Cache Class definition

Discussion (5)0
Log in or sign up to continue

As a consequence of the previous answers it is not allowed to address instance properties using the "dot dot" syntax within a class method. Using the previous example: it is ok to use 

set tCarNumber=..CarNumber 

within the PrintCar() method (providing there is a CarNumber property defined)

but you cannot use it in ClassMethod - as a class method can be called outside of any instance context.