| To: | scsh-news@zurich.ai.mit.edu |
|---|---|
| Subject: | Re: scsh script --- comments and queries |
| From: | Jeff de Vries <jdevries@pfrog.com> |
| Date: | Sun, 12 May 2002 01:13:51 -0700 |
Just:
x = condition;
Joe Marshall wrote:
> --- when you consider that a C-like
> > language would just do it thus:
> >
> > if (condition)
> > {x = true;}
> > else
> > {x = false;}
>
> x = condition ? true : false;
>
> C has conditional expressions, no one uses them much.
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: scsh script --- comments and queries, Joe Marshall |
|---|---|
| Next by Date: | Re: scsh script --- comments and queries, David S. |
| Previous by Thread: | Re: scsh script --- comments and queries, Joe Marshall |
| Next by Thread: | Re: scsh script --- comments and queries, David S. |
| Indexes: | [Date] [Thread] [Top] [All Lists] |