scsh-users
[Top] [All Lists]

Re: scsh script --- comments and queries

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>