Subject Re: do variable
From charlie <tm@tc.com>
Date Tue, 25 Feb 2020 22:07:11 -0500
Newsgroups dbase.getting-started

Thanks Bruce!!  I learned something new!!!

Bruce Beacham Wrote:

> _app.<item> cannot be used as a macro, nor can any dot-notated
> reference.   Use a private variable.
>
> _app.menu = "menus.wfm"
> private fred
> fred = _app.menu
> do &fred.
>
>
> Bruce Beacham
>
>
>
> On 25/02/2020 22:30, 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!!!
> >