PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → Static Method of Class
Static Method of Class
Iniciado por Mark, 15,jul. 2008 12:38 - 1 respuesta
Publicado el 15,julio 2008 - 12:38
Hi folks,
Can anyone explain, when the windev help mentions "Static Method of a Class" what static actually means? Cannot find an explanation to this in the Windev help anywhere.
Mark
Publicado el 11,junio 2019 - 16:31
You can use "GLOBAL" Parameter.
For example:

In a class "Test" you declare:
PROCEDURE GLOBAL MethodTest()

in your project, you can call this method without an istance:
Test.MethodTest()