The title indicates that the variable value is blank.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2023-12-05
09:33 AM
- last edited on
2024-09-26
01:55 PM
by
Doreena Deng
if "<Dong Name>" = "" then
text2 0,0,1
else
text2 0,0,2
endif
Number 2 appears. Even if you use "#", you get the same result.
How do I know if the space is blank?
The title indicates that the variable value is blank.
Solved! Go to Solution.
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2023-12-05 09:50 AM
As far as I know, GDL can not read the value of the Project Info variables
That is probably why you can't determine if it is empty or not.
All GDL can do is display the value.
It will be blank if it is empty.
Barry.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2023-12-05 09:50 AM
As far as I know, GDL can not read the value of the Project Info variables
That is probably why you can't determine if it is empty or not.
All GDL can do is display the value.
It will be blank if it is empty.
Barry.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2023-12-05 11:48 AM
Yes, you have to turn it on/off as an option.