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?

#1902
James Murray
Participant

Here’s one from working on curved windows:

!otherwise you get div0
IF GLOB_CONTEXT=1 OR GLOB_CONTEXT=5 THEN
	WOD=-4'
ELSE
	WOD=WIDO_ORIG_DIST
ENDIF
hA=A/2
!half of included angle
hNg=ATN(hA/ABS(WOD))

James M