Saturday, 21 February 2015

rebus - What movie quote does this represent?


This describes the quote:


private function cross(question:Boolean):Number {
if (question) {

var answer:Number = Math.sqrt(-1);
}
return answer;
}
trace("Answer:", cross(truth));

Answer



I'm going to take a guess



"You can't handle the truth", from A Few Good Men. I'm assuming that a complex number can't be handled by whatever Number is.

EDIT: Doing some research, it seems that no, complex number handling is not built in to AS's Number class and as such this is a valid interpretation of the above code.




No comments:

Post a Comment