use dummy field as part of the goto label
Jeff Harrison
jeffaharrison at yahoo.com
Tue May 6 13:23:36 PDT 2008
Jay R. Ashworth wrote:
>
> On Tue, May 06, 2008 at 12:12:24PM -0700, Jeff Harrison wrote:
> > > The "call (zz)" example above is not relevant, since call takes an
> > > expression in the first place, and "(expression)" is equivalent to
> > > "expression".
> >
> > It is relevant to the original question though, which I interpreted as
> > "how can I get named code to execute based upon a name in a variable
> > string"
> >
> > Or something like that :-)
>
> Well, sure... if you're willing to put up with all the collateral
> damage from a CALL. What is that again? :-)
>
I can think of two bad scenarios.
#1 The processing does not exist - you can test for this easy enough with "exists", or just limit the user's choices to valid values.
#2 Funny business. Unintended or undesirable processing can get executed. Again, you would need to limit the acceptable values prior to the call.
Jeff Harrison
jeffaharrison at yahoo.com
Author of JHExport and JHImport. The fastest and easiest ways to generate filepro exports and imports.
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
More information about the Filepro-list
mailing list