@bk

Bob Simcoe bob at midcityoffice.com
Mon Oct 28 12:51:39 PDT 2013


You could capture the @bk value
Then :xx = @bk
Then: Do subroutine
If: xx eq "a"
Then: Do whatever
If: xx eq  "b"
Then.......................................



Bob Simcoe


-----Original Message-----
From: filepro-list-bounces+bob=midcityoffice.com at lists.celestial.com [mailto:filepro-list-bounces+bob=midcityoffice.com at lists.celestial.com] On Behalf Of Richard Kreiss
Sent: Monday, October 28, 2013 3:13 PM
To: filepro-list at lists.celestial.com
Subject: Re: @bk

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
GCC Consulting

Office: 410-653-2813




_______________________________________________
Filepro-list mailing list
Filepro-list at lists.celestial.com
Subscribe/Unsubscribe/Subscription Changes http://mailman.celestial.com/mailman/listinfo/filepro-list


More information about the Filepro-list mailing list