![]() Preserved Topic: Help understanding statement |
|
---|---|
Author | Thread |
Paranoid (IV) Inmate From: 127.0.0.1 |
![]() Okay - |
Maniac (V) Mad Scientist From: New California |
![]() This is one of those spiffy shorthand syntaxes carried over from c. |
Paranoid (IV) Inmate From: 127.0.0.1 |
![]() |
Paranoid (IV) Inmate From: other places |
![]() It's called a ternary operator, AFAIK. Because it takes three operands. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() It's more specifically called the "conditional" operator. |