Reply To: What is the proper replacement for GLOB_​​​CONTEXT=1?

Home Forums Problems and solutions in GDL Informations from the environment What is the proper replacement for GLOB_​CONTEXT=1? Reply To: What is the proper replacement for GLOB_​​CONTEXT=1?

#1781
Barry Kelly
Participant

Thanks for the reply Gergely but I really didn’t understand it.
I have never used the lp_xmlconverter.
It is not a case of updating the actual library part.
What I am trying to do is trap an actual object instance in a plan.
If it has a certain parameter then swap that.
I only want to check it once which is why the flag parameter gets reset.
If I don’t have the GLOB_CONTEXT <> 1 then the flag will reset in the script editor which I don’t want.
It needs to be off and only reset when I am not editing the script.

Not sure if that explains it any clearer.
Basically I need to trap (or exclude) when I am in the GDL editor.
How do I do that without GLOB_CONTEXT.

Barry.

Versions 6.5 to 22
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit