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?
Professional Software Development Tools
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?
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
Oh, that's right! Opps sorry.
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