@bk
Mike Schwartz
mschw at athenet.net
Mon Oct 28 12:55:20 PDT 2013
> Is there an easy way to have all browse key options check a sub routine
prior
> to execution the actual browse key option?
>
> Something similar to @wuk*
>
> Yes, I can put:
>
> If:@bk="a"
> Then: GOSUB do_this; do this on return
> If:@bk="b"
> Then;GOSUB do_this;di this on return
>
> Only problem is there are about a dozen options and it seems like a lot of
> extra programming to do when a @bk ="*" - do this first then execute the
> actual @bk= option.
>
> Richard Kreiss
You should be able to do it with a "contains" statement:
Then: lg(1,*)=@BK
If: "ABCDZ" co lg:
Then: goto Do_This:
(That is untested code, just off the top of my head...)
It might work if write it like the line below, but I've never used @BK
this way:
If: "ABCDZ" co @BK:
Then: goto Do_This:
More information about the Filepro-list
mailing list