Input processing
    Kenneth Brody 
    kenbrody at spamcop.net
       
    Thu Nov 18 19:15:12 PST 2010
    
    
  
On 11/18/2010 9:38 PM, Dennis DIller wrote:
> I have this gosub routine tphone while being in field aa
> after the subroutine I have a return
>
> In the proc. below wouldn't my processing start .......   a=""; na="" e=""; screen ,aa
> hoping I be back sitting on field aa
> but my processing continue with @wlfaa
> Can someone tell me why I had to add z=@fd
> because I would like to use @wuk* gogub tphone
> Then every field I would have z=@fd to put me back into the field.
> any help is appreciated
> Denny
>
>
>
> @wlfaa If: z="aa"
>            Then: z=""; screen ,aa
>
>
> @wukaa ? If: @sk eq "INSL"                                                     ?
>         Then: z=@fd; GOSUB tphone; a=""; na=""; e=""; screen ,aa
I'm having a hard time figuring out exactly what you're asking in the above 
message.  However, I am guessing that you are asking why, after executing 
the above "@wukaa" line, the "@wlfaa" event is triggered.  If that's your 
question, the answer is because the "screen ,aa" statement causes the cursor 
to leave the current field (in this case, aa) in order to move the cursor to 
field aa.
Since @wuk doesn't leave the field, just "end" the event, and the cursor 
will remain in the current field.
-- 
Kenneth Brody
    
    
More information about the Filepro-list
mailing list