use dummy field as part of the goto label

Walter Vaughan wvaughan at steelerubber.com
Mon May 5 08:07:15 PDT 2008


Dennis Malen wrote:

>Within input processing, is it possible to use a dummy filed as part of the 
>name of the goto label, such as:
>
>zz="rab";goto rpt{zz
>
>How can I have filepro acknowledge the rpt{zz and goto rptrab? When I try to 
>save the processing filepro tells me that there is no label by that name. 
>Obviously this is a limitation of filepro . Is there any way around this 
>limitation?
>  
>
In Define Processing's help you will see this
4.5      GOSUB/GOTO OF      Gosub/goto one of a list of labels.
 
          Syntax   
               GOSUB (num_expr) OF label1, label2, ... 
               GOTO (num_expr) OF label1, label2, ...
               where num_expr is the one-relative index into the list
               of labels, and label1,label2, ... are the labels.

          Notes: 
               The parentheses around (num_expr) are required.

               Only the integral portion of num_expr is used.  Any
               fractional portion is ignored.  The number is not rounded.


More information about the Filepro-list mailing list