[thelist] ASP equivalent of $var = ($a == 0) ? 'hello' : 'goodbye';

Ken Schaefer ken at adOpenStatic.com
Tue Dec 9 18:30:40 CST 2003


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: "Dunstan Orchard" <dunstan at 1976design.com>
Subject: [thelist] ASP equivalent of $var = ($a == 0) ? 'hello' : 'goodbye';


: Is the an ASP equivalent of PHP's syntax:
:
: $var = ($a == 0) ? 'hello' : 'goodbye';
:
: I can't seem to find anything, but I know you
: can do it in JS, so I presumed it was OK in
: ASP as well.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

ASP is not a language. You can write ASP pages in JScript if you want. So
the first step is probably telling us what language you want to write your
ASP code in.

Cheers
Ken

Microsoft MVP - Windows Server (IIS)



More information about the thelist mailing list