Oh dear… sorry, the nerd in me just can’t let it go… actually I think you were right in the first place, according to the speech, you are assigning the variable $question with the value “2*b…” etc. I think the “echo” threw me.
I see the extent of Penny’s education is confined to computers. Not only does she not read Shakespeare, but she can’t tell the difference between monkeys and chimpanzees (Or the Schrodinger’s cat thingy).
I was speaking from experience. Teachers tried to beat my love of english lit and music out of me by “teaching” me, but they didn’t succeed. Although thinking of it I could read music before two years of music lessons left me ignorant.
Thanks, you guys – that was a fun exchange to sit back & watch! 😀 I’ve been away a bit, gearing up to introduce my two eldest young un’s to the Serenity RPG. Must.. Keep… Strip buffer… Alive… (Rolling D10 against this FORMIDABLE task.)
If they’re Code Monkeys, more probable would be:
echo boolean $question = ((2*b)||!(2*b);
Must. Resist. Pointing. Out. Fatal. Error. In. Code.
Arrrgggh… “syntax error!”
You left off an enclosing parenthesis are the second (2*b).
Also you’re assigning rather than comparing the boolean value to the variable $question.
Try:
echo boolean $question == ( (2*b) || !(2*b) );
Ahhhh, that’s better. ;-P
Oh dear… sorry, the nerd in me just can’t let it go… actually I think you were right in the first place, according to the speech, you are assigning the variable $question with the value “2*b…” etc. I think the “echo” threw me.
Revised code (again):
boolean $question = ( (2*b) || !(2*b) );
echo $question;
I need a life….
D’oh.
I lame not being able to edit comments.
thx Louise
*Blame, even
I see the extent of Penny’s education is confined to computers. Not only does she not read Shakespeare, but she can’t tell the difference between monkeys and chimpanzees (Or the Schrodinger’s cat thingy).
Thats what the English school system does to you
LOL!
Says a product of the English school system — of course it was much more rigorous in my day: more work, tougher exams, harder chairs etc etc etc…
I was speaking from experience. Teachers tried to beat my love of english lit and music out of me by “teaching” me, but they didn’t succeed. Although thinking of it I could read music before two years of music lessons left me ignorant.
Thanks, you guys – that was a fun exchange to sit back & watch! 😀 I’ve been away a bit, gearing up to introduce my two eldest young un’s to the Serenity RPG. Must.. Keep… Strip buffer… Alive… (Rolling D10 against this FORMIDABLE task.)