PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → Static Method of Class
Static Method of Class
Débuté par Mark, 15 juil. 2008 12:38 - 1 réponse
Posté le 15 juillet 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
Posté le 11 juin 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()