[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [External] : Execute commands with unless on symbols
From: |
uzibalqa |
Subject: |
RE: [External] : Execute commands with unless on symbols |
Date: |
Sat, 08 Oct 2022 17:12:17 +0000 |
------- Original Message -------
On Saturday, October 8th, 2022 at 4:24 PM, Drew Adams <drew.adams@oracle.com>
wrote:
> > (defconst modust-statck 'go)
> > (unless modust-statck
>
>
> Yes. Doesn't that do what you ask?
>
> On the other hand, `defconst' is specifically intended to give the message to
> human readers that neither humans nor code are expected to change the value
> of the variable. It's a proclamation to human readers that the var is really
> a constant. And if it's really a constant, then why test it (e.g. with`
> unless')? Either you should
> use `defvar' or you just do XYZ instead of
> (unless modust-statck XYZ). No?
You are right. Would work better if I can pass 'go or 'nogo to a function. I
would still
need the "(unless param". With some "eq" declaration for 'nogo.