Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: variable question (like that's new) urgent |
From: | John Graham |
Date: | Thu, 6 Apr 2000 20:13:44 +0100 |
> ok, i'm trying to get flash to check two variables to see if the strings
> w/in them matches, and if it does to set a variable to false (as a string)
> it goes like this
> If (Eval("currentanswer" eq" _level0:correctanswer"))
> Trace ("checking for correct answer")
> Set Variable: Eval (Substring ( b, 0, 3) & "current") = "false"
> Set Variable: "answerquestion" = Eval (Substring ( "b", 0, 3 ) &
> current)
> Else
> Set Variable: "answerquestion" = "true"
> End If
> any suggestions?
I'm far from expert on variables, but doesn't the first line have a quote in
the wrong spot. I'm pointing out the obvious typo, which may have come from
retyping it into the email..
If (Eval("currentanswer" eq "_level0:correctanswer"))
Could it be that Simple? BTW eq is equivalent to "equals", what is it for
"not equal to"?
TIA
John G
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml
Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
Replies
FLASH: variable question (like that's ne, mhoganuclick [dot] com
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]