Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
If All Candles Inactive, Fade To Black Script?
Tomato Cat Offline
Senior Member

Posts: 287
Threads: 2
Joined: Sep 2012
Reputation: 20
#17
RE: If All Candles Inactive, Fade To Black Script?

(05-05-2013, 12:22 AM)TheGreatCthulhu Wrote: For example, in PHP, unlike in AngelScript:
5 == "5" evaluates to true ("5" is converted (cast) to 5, and then they are compared)
5 === "5" returns false, since the left one is a number 5, and the right one is a string (text) "5"; but
5 === 5 evaluates to true.

That's what it was! =p

Anyhow, I checked whether or not a non-zero value returns true and the compiler threw an error at me and demanded a boolean operator.
05-05-2013, 01:56 AM
Find


Messages In This Thread
RE: If All Candles Inactive, Fade To Black Script? - by Tomato Cat - 05-05-2013, 01:56 AM



Users browsing this thread: 1 Guest(s)