$this_user = $this_user == 0 ? "male" : $this_user == 1 ? "female" : $this_user == 2 ? "robot" : undef;
Abigail
In reply to Re: Conditional variable assignments
by Abigail-II
in thread [untitled node, ID 260676]
by Samn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |