POPUP_EQUATES (OpenInsight 64-bit)
At 12 APR 2022 07:29:57PM Donald Bakke wrote:
One of our engineers just reported problems migrating several routines from OI 9 because POPUP_EQUATES in OI 10 now includes the LOGICAL insert. Why was this added?
At 12 APR 2022 09:31PM Matthew Crozier wrote:
One of our engineers just reported problems migrating several routines from OI 9 because POPUP_EQUATES in OI 10 now includes the LOGICAL insert. Why was this added?
Yes, I came across this too. I had to refactor my OI9 code accordingly for cross-portability with OI10. OI9 doesn't have the
#IFNDEF _LOGICAL_ #DEFINE _LOGICAL_protection in the equates that OI10 has for including inserts multiple times or within other inserts.
Cheers, M@
At 12 APR 2022 11:15PM Donald Bakke wrote:
One of our engineers just reported problems migrating several routines from OI 9 because POPUP_EQUATES in OI 10 now includes the LOGICAL insert. Why was this added?
Yes, I came across this too. I had to refactor my OI9 code accordingly for cross-portability with OI10. OI9 doesn't have the
#IFNDEF _LOGICAL_ #DEFINE _LOGICAL_protection in the equates that OI10 has for including inserts multiple times or within other inserts.
Cheers, M@
M@ - Yep, we ended up doing that as well. Just surprised to come across this without explanation.
At 13 APR 2022 01:52AM Mark Boorman wrote:
Hey M@,
Where do you add this and/or what does it actually do?
I can take a guess but I'd rather understand than blindly follow.
I don't see those expressions in the help anywhere.
At 13 APR 2022 01:56AM Donald Bakke wrote:
Hey M@,
Where do you add this and/or what does it actually do?
I can take a guess but I'd rather understand than blindly follow.
I don't see those expressions in the help anywhere.
Mark - Check out this article, especially near the bottom:
At 13 APR 2022 02:32AM Mark Boorman wrote:
Thanks Don.
A good article with an example of these commands but without the bit I personally was missing.
Not to worry, this thread provided the info that cleared my head.
The "_LOGICAL_" being just a label that could be referenced elsewhere.
I have other alternative inserts that also define some of the equates found in Logical.
Now I understand how to prevent them from falling foul of OI10 popup_equates.
At 13 APR 2022 05:17AM Carl Pates wrote:
You can remove it from POPUP_EQUATES - it's removed from the next release.