Google
 
Webnews.only-4-geeks.com
Interesting places
news.only-4-geeks.com Forum Index » Flash - ActionScript

Simple if - then statement question

 
Jump to:  
 
benhenny
PostPosted: 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
PostPosted: 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
PostPosted: Fri Jun 06, 2008 11:03 pm    Post subject: Re: Simple if - then statement question
       
if ((priceA >= priceB)&&(pmaxB <= loadMw) )
{
//...........
}
 

Page 1 of 1 .:.

Google
 
Webnews.only-4-geeks.com

Windows Update | C++ | C | PHP | JavaScript | Photoshop | Programming | Windows 2000 | Python | Windows XP | Object | Flash | Flash - ActionScript | Paint Shop Pro | Excel | PowerPoint | Access | Word | Windows 98 | Internet Explorer 6.0 | CorelDraw12 | Java | XML | asm x86 | Linux Mandrake | Linux RedHat | Outlook |  | news from newsgroups |_ | s

Web Templates

Awesome Website Templates ©

Literatura Nowoczesna Wakacje nad morzem szkoła ochrony gdańsk Linki zakładki Była to głupia miłość - Czerwone Gitary