PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
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
Connect yourself…
Garry Allen
#1
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?
Report
0
0
Al
#2
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
Report
0
0
Garry Allen
#3
Posted on December, 11 2017 - 12:59 AM
Unfortunately that is also the first line in mine!
Garry
Report
0
0
Garry Allen
#4
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
Report
0
0
→ Go back to WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text