Quirky label behaviour
Roger Cornelius
rac at custom-mobility.com
Mon Jan 26 17:57:37 PST 2009
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.
I couldn't find anyplace in the online filepro manual where it describes
what characters are legal in a label name, but I've used "-" many times
over the years w/o a problem.
Is there an explanation for this behavour?
Thanks.
--
Roger Cornelius rac at custom-mobility.com
More information about the Filepro-list
mailing list