vile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vile] testing for defined/set user variables


From: Thomas Dickey
Subject: Re: [vile] testing for defined/set user variables
Date: Mon, 8 Aug 2011 16:41:28 -0400 (EDT)

On Mon, 8 Aug 2011, address@hidden wrote:


Is there a function to test if a temporary variable is defined or
contains a value?

Ex:  ~if &defined mytmpvar

If not how can it be simulated?

I'd make an expression with it, using the &error function.  For example
        ~if &not &error %mytmpvar
has the same sense as your example.

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net



reply via email to

[Prev in Thread] Current Thread [Next in Thread]