Preserved Topic: Help understanding statement (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: 127.0.0.1 |
posted 06-01-2001 04:44
Okay - |
Maniac (V) Mad Scientist From: New California |
posted 06-01-2001 06:37
This is one of those spiffy shorthand syntaxes carried over from c. |
Paranoid (IV) Inmate From: 127.0.0.1 |
posted 06-01-2001 06:40 |
Paranoid (IV) Inmate From: other places |
posted 06-01-2001 06:44
It's called a ternary operator, AFAIK. Because it takes three operands. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 06-01-2001 18:42
It's more specifically called the "conditional" operator. |