Indigo Rose Software
  #1  
Old 11-03-2003
Bruce's Avatar
Bruce Bruce is offline
Indigo Rose Customer
 
Join Date: Jun 2001
Location: California
Posts: 1,769
IF Statment

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?
  #2  
Old 11-03-2003
Corey's Avatar
Corey Corey is offline
Registered User
 
Join Date: Aug 2002
Posts: 9,746
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
  #3  
Old 11-03-2003
Bruce's Avatar
Bruce Bruce is offline
Indigo Rose Customer
 
Join Date: Jun 2001
Location: California
Posts: 1,769
Oh, that's right! Opps sorry.
  #4  
Old 11-03-2003
Corey's Avatar
Corey Corey is offline
Registered User
 
Join Date: Aug 2002
Posts: 9,746


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
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -6. The time now is 02:14 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software