Skip to main content
Inspiring
June 6, 2008
Question

Simple if - then statement question

  • June 6, 2008
  • 1 reply
  • 254 views
I'm trying to find a simple if then syntax reference and can't. I want to do this:

if ( priceA >= priceB && pmaxB <= loadMw ) {

- which works for PHP, but it doesn't work in AS. Is this the correct syntax?
This topic has been closed for replies.

1 reply

Ned Murphy
Legend
June 6, 2008
Unless my eyes are playing tricks on me, the code you show does work in AS. There must be something else that's tripping things up.