Quirky label behaviour

Roger Cornelius rac at custom-mobility.com
Tue Jan 27 07:45:25 PST 2009


On 01/27/2009 10:23, Kenneth Brody wrote:
> Quoting Roger Cornelius (Mon, 26 Jan 2009 20:57:37 -0500):
>
>> filepro 5.06.06
>> SCO OSR507
>>
>> In an input processing table is a subroutine at label "A8CC".  In that
>> section of code is a subsection at label "A8CC-01".  E.g.:
>>
>> A8CC:::
>> :' some processing::
>> :xx ne yy:goto A8CC-01:
>> :' some processing::
>> A8CC-01:::
>> :' some processing::
>> ::return:
>>
>> The problem is the "goto A8CC-01" command jumps to the "A8CC" label
>> instead of "A8CC-01", resulting in an infinite loop.  This was
>> determined by adding "show" statements.  The problem occurs only if the
>> table is executed with rclerk.  If dclerk is used, the code works as
>> expected.  Removing the "-" from the label allows it to execute
>> correctly in rclerk or dclerk.  No syntax or duplicate label errors are
>> produced when saving the table which is approximately 3700 lines.
> [...]
>
> This sounds familiar from something a long time ago.  If you recompile the
> processing in the 5.6.06 rcabe, does the problem go away?  If not, contact
> fpsupport.

The problem doesn't go away with recompile, so I will contact support
about it tomorrow.  Thanks.
-- 
Roger Cornelius            rac at custom-mobility.com


More information about the Filepro-list mailing list