Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: variable question (like that's new) urgent |
From: | DSG |
Date: | Thu, 6 Apr 2000 20:21:50 +0100 |
"mhoganuclick [dot] com" wrote:
> 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"))
not sure why you are using an eval here... try:
If (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)
this is where you should set the variable to false. Not sure what all
this other stuff goin on is... and there are inconsistencies with the b
vs "b" and the eq" _lev..." above. this may be because of a quick type
into the email, but if this is the same as in your code, I can see problems.
> Else
> Set Variable: "answerquestion" = "true"
> End If
> any suggestions?
based on what you say you are trying to do above, the code should look
something like this:
if(currentAnswer eq _level0:correctAnswer)
set Variable: "yourVariable" = "false"
End If
Hope this helps
DSG
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]