|  | Simple if - then statement question |  | |
| | | benhenny |  |
| Posted: Fri Jun 06, 2008 9:47 pm Post subject: Simple if - then statement question |  |
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? |
| |
| | | NedWebs |  |
| Posted: Fri Jun 06, 2008 10:00 pm Post subject: Re: Simple if - then statement question |  |
| 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. |
| |
| | | noir |  |
| Posted: Fri Jun 06, 2008 11:03 pm Post subject: Re: Simple if - then statement question |  |
if ((priceA >= priceB)&&(pmaxB <= loadMw) ) { //........... } |
| |
|
|