38882Re: New snapshot 7.0046
- Feb 1, 2005Johnny Blaze wrote:
> > > if I am stepping through the script and before "let s:dirty.menu = 0"Yes, but ":unlockvar" can't change anything for a read-only variable,
> > > in CheckState() I execute :unlockvar s:dirty.menu, I get "E742: Cannot
> > > change value of s:dirty.menu = 0"
> > That means a flag is set that is used for function arguments. You can't
> > reset it with ":unlockvar". Again sounds like missing initialisation.
> so in nomal practice, if a locked variable is found, unlockvar will be
> able to unlock it?
such as a function argument.
hundred-and-one symptoms of being an internet addict:
14. You start introducing yourself as "Jim at I-I-Net dot net dot au"
/// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
\\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
- << Previous post in topic