PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → Compilation problem with new project
Compilation problem with new project
Débuté par Garry Allen, 10 déc. 2017 23:37 - 3 réponses
Posté le 10 décembre 2017 - 23:37
It seems that global procedures are getting compiled before Project Initialization code resulting in:
Error at line 4 of Declaration of GlobalProcedures process.
The 'gsUser' variable is unknown or not accessible here.
Am I missing something?
Posté le 10 décembre 2017 - 23:45
Hello Gary

The first line in my project init code is "GLOBAL" That may fix your issue ?

Regards
Al
Posté le 11 décembre 2017 - 00:59
Unfortunately that is also the first line in mine!
Garry
Posté le 11 décembre 2017 - 01:12
Oops - I found the error. I had inadvertently pasted in a Global Procedure right under Declaration Of Global Procedures.
Garry