PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WINDEV 2024 → Compilation problem with new project
Compilation problem with new project
Started by Garry Allen, Dec., 10 2017 11:37 PM - 3 replies
Posted on December, 10 2017 - 11:37 PM
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?
Posted on December, 10 2017 - 11:45 PM
Hello Gary

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

Regards
Al
Posted on December, 11 2017 - 12:59 AM
Unfortunately that is also the first line in mine!
Garry
Posted on December, 11 2017 - 1:12 AM
Oops - I found the error. I had inadvertently pasted in a Global Procedure right under Declaration Of Global Procedures.
Garry