Paul Taffel <[log in to unmask]> wrote:
> Glenn Cole complained that the following doesn't work inside MPEX:
>
> > if bound( InsideQEDIT ) and InsideQEDIT = 1
> > :set echo=on
> > else
> > set echo=on
> > endif
>
> So, why not try:
>
> if bound( InsideQEDIT )
> if insideQEDIT = 1
> :set echo=on
> else
> set echo=on
> endif
> else
> set echo=on
> endif
>
> Or even simpler:
>
> setvar InsideQEDIT 0
> if InsideQEDIT = 1
> :set echo=on
> else
> set echo=on
> endif
>
Am I missing something? (I don't *really* need an answer to that
question :>) Isn't the above a lot like:
set echo=on
What is the purpose of checking vars (of any kind) when the results
are the same either way?
Debbie
-----------------------------------------------
Debbie Blumenthal, Computer Services
Conestoga College, Kitchener, Ontario CANADA
[log in to unmask]
-----------------------------------------------