[Top][All Lists]

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

Re: How to check if a symbol has been defined?

From: Valeriy E. Ushakov
Subject: Re: How to check if a symbol has been defined?
Date: Tue, 25 Nov 2003 21:17:13 +0300
User-agent: Mutt/1.4i

On Tue, Nov 25, 2003 at 20:58:12 +0300, flamasuta wrote:

> From: "flamasuta" <address@hidden>
> X-Diagnostic: Not on the accept list

Please, subscribe.  Posting to the list is restricted to subscribers

[BTW, has *anything* been decided about the new hosting for the list?]

> Is it possible to check if a symbol has already been defined?
> For example, in pseudo-code:
> if (symbol is defined) then
>    do that thing
> else
>    do another thing
> endif
> Or, at least, is it possible to re-define a symbol (only if it is 
> currently undefined)?

No.  Lout is not a macro language.  Some examples of what you can do
can be found here:


SY, Uwe
address@hidden                         |       Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/            |       Ist zu Grunde gehen

reply via email to

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