Subject
Re: do variable
From
Charlie <tm@tc.com>
Date
Tue, 25 Feb 2020 19:50:28 -0500
Newsgroups
dbase.getting-started
Hi Ken... Thanks... I don't get an error message but more or less nothing happens. The menu doesn't open!!
Ken Mayer Wrote:
> On 2/25/2020 2:30 PM, Charlie wrote:
> > HI.. I've tried a bunch of combinations and just can't get this to work. I am trying to open menus.mnu as a variable. Can anyone help?
> >
> > _app.menu = "menus.wfm"
> > "do '&_app.menu'" // I know this is wrong and have tried many variations on this theme!!!
> >
>
> Try:
>
> // assign the whole command to a variable:
> cmd = "do "+_app.menu
> // execute the command:
> &cmd.
>
> Ken
>
> --
> *Ken Mayer*
> Ken's dBASE Page:
http://www.goldenstag.net/dbase
> The dUFLP:
http://www.goldenstag.net/dbase/index.htm#duflp
> dBASE Books:
http://www.goldenstag.net/dbase/Books/dBASEBooks.htm
> dBASE Tutorial:
http://www.goldenstag.net/dbase/Tutorial/00_Preface.htm