2006-07-29 01:14 AM - last edited on 2023-05-24 10:32 AM by Rubia Torres
IF pFrameType = `HM` THEN PARAMETERS pFrameGuage = `16` ELSE PARAMETERS pFrameGuage = `18` ENDIF
IF pFrameType = `HM` THEN PARAMETERS pFrameGuage = `16` ENDIF IF pFrameType <> `HM` THEN PARAMETERS pFrameGuage = `18` ENDIF
PARAMETERS pFrameGuage = `18` IF pFrameType = `HM` THEN PARAMETERS pFrameGuage = `16` ENDIF
IF pFrameType = `HM` THEN temp = `16` ELSE temp = `18` ENDIF PARAMETERS pFrameGuage = temp
IF pFrameType = `HM` THEN PARAMETERS pFrameGuage = `16` PARAMETERS pFrameGuage = `18` ENDIF
2006-07-29 02:56 AM
2006-07-29 08:04 AM
2006-07-30 09:11 PM
2006-07-30 11:41 PM
2006-07-30 11:48 PM
Karl wrote:
You spelled your variable name as "pFrameGuage", but I suspect you meant "pFrameGauge"
2006-07-31 12:54 AM
Jay wrote:Good to hear Jay
John had the winning answer. First I added a Test parameter and used Test in the code instead of pFrameGuage, and it worked. So I deleted the original pFrameGuage parameter and renamed Test to pFrameGuage -- it worked.
The moral of this story is...
If the GDL interpreter doesn't like one of your parameters -- even though it should -- throw the parameter away and try again. Don't question why -- it will just drive you crazy!