#include "protheus.ch"
class StaticMethod
method new()
static method staticExample()
data dataI
endclass
method new() class ForWithProperty
return self
method staticExample() class StaticMethod
conout("exemplo")
/* conout(::dataI) //C9904 Cannot access data nor methods of class from a static method*/
return
main function tteci_142
StaticMethod():staticExample()
return |