Subject Re: do variable
From Bruce Beacham <bbeacham@no_plm_lowman.co.uk>
Date Wed, 26 Feb 2020 00:35:27 +0000
Newsgroups dbase.getting-started

_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!!!
>