This describes the quote:
private function cross(question:Boolean):Number {
if (question) {
var answer:Number = Math.sqrt(-1);
}
return answer;
}
trace("Answer:", cross(truth));
Puzzling Stack Exchange is a question and answer site for those who create, solve, and study puzzles. It only takes a minute to sign up.
Sign up to join this communityThis describes the quote:
private function cross(question:Boolean):Number {
if (question) {
var answer:Number = Math.sqrt(-1);
}
return answer;
}
trace("Answer:", cross(truth));
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.
My try:
I am the answer to your prayers.
From the movie:
Explanation:
the variable
truth
can meantrue
. So theif
statement is evaluated to true and the answer is always $\sqrt{-1}$ which isi
.
'cross' can be a reference toprayer
. I know it's a long shot but maybe...