10

This describes the quote:

private function cross(question:Boolean):Number {
    if (question) {
        var answer:Number = Math.sqrt(-1);
    }
    return answer;
}
trace("Answer:", cross(truth));
Marius
  • 18,049
  • 4
  • 54
  • 101
Chowzen
  • 25,660
  • 5
  • 57
  • 220

2 Answers2

7

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.

question_asker
  • 9,631
  • 1
  • 37
  • 64
  • The funny thing is that as soon as I saw the function named "cross" (as in cross-examine), this is the quote I thought it would be, but I couldn't figure out how it connected. – Ryan May 24 '16 at 15:36
4

My try:

I am the answer to your prayers.

From the movie:

End of days

Explanation:

the variable truth can mean true. So the if statement is evaluated to true and the answer is always $\sqrt{-1}$ which is i.
'cross' can be a reference to prayer. I know it's a long shot but maybe...

Marius
  • 18,049
  • 4
  • 54
  • 101