if (x = 1)
test = true;
test = false;
can be written on one line with something like test = (x?1:true,false); but I'm not sure of the syntax. Anyone know the proper syntax? What I want to do is convert an array ("No", "Yes") to a boolean.
test = (x == 1) ? true : false;
Retrieving data ...