Author: Robert Sample
Subject: Reply to: COMMAREA and CHANNELS
Posted: Tue Apr 04, 2017 8:41 am (GMT 5.5)
The syntax diagram in the Application Programming Reference manual indicates you may have either a COMMAREA or a CHANNEL option on your RETURN / LINK / ... command, but not both. The Application Programming Guide manual talks about replacing COMMAREA with CHANNEL. The V5.4 Beta Developing Applications manual specifically states that COMMAREA and CHANNEL are mutually exclusive. It is not clear from these manuals what the impact is on the subprogram but based on the fact that the calling program cannot have both COMMAREA and CHANNEL, I suspect there may be issues with attempting to use both in the subprogram.
_________________
TANSTAAFL
The first rule of code reuse is that the code needs to be worth re-using.
"We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil." -- Donald Knuth
Subject: Reply to: COMMAREA and CHANNELS
Posted: Tue Apr 04, 2017 8:41 am (GMT 5.5)
The syntax diagram in the Application Programming Reference manual indicates you may have either a COMMAREA or a CHANNEL option on your RETURN / LINK / ... command, but not both. The Application Programming Guide manual talks about replacing COMMAREA with CHANNEL. The V5.4 Beta Developing Applications manual specifically states that COMMAREA and CHANNEL are mutually exclusive. It is not clear from these manuals what the impact is on the subprogram but based on the fact that the calling program cannot have both COMMAREA and CHANNEL, I suspect there may be issues with attempting to use both in the subprogram.
_________________
TANSTAAFL
The first rule of code reuse is that the code needs to be worth re-using.
"We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil." -- Donald Knuth