Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Ternary Operator

Name: Anonymous 2010-01-08 8:07

ALL HAIL!

Name: Anonymous 2010-01-08 11:15

>>8
The Tenary operator can follow the structure:
variable = conditional ? A : B

which is virtually the same as:

if(conditional)
{
   variable = A
}
else
{
   variable = B
}

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List