View Full Version : IF Statment
Bruce
11-03-2003, 02:19 PM
Here's what I have:
flash = Folder.DoesExist("C:\\flash");
-- is the flash there?
if flash = true then
page.Jump("Page1");
else
Page.Jump("Page2");
end
My issue is in red. I'm missing somthing here, any one?
Corey
11-03-2003, 02:26 PM
Hi Bruce, you have to use == to compare values, remember?
= is an assigment operator
== is a comparison operator
=== is just showing off
Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)
Bruce
11-03-2003, 02:34 PM
Oh, that's right! Opps sorry.
Corey
11-03-2003, 02:38 PM
:p
A tip:
1. Create a folder named "AMS Quick Fix" in your IE favorite folder.
2. Bookmark this thread into that folder under the title, "IF Statement Problem".
3. Plop shortcuts to similar type future threads in there too so you have instant access to these sorts of quick fixes. A customized "Bruce's FAQ" reference if you will.
4. Have a happy.
Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)
vBulletin® v3.7.3, Copyright ©2000-2009, Jelsoft Enterprises Ltd.