PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WINDEV 2024 → Static Method of Class
Static Method of Class
Iniciado por Mark, jul., 15 2008 12:38 PM - 1 resposta
Publicado em julho, 15 2008 - 12:38 PM
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 em junho, 11 2019 - 4:31 PM
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()