Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: more variables thankyouverymuch
From: Cheri Harder
Date: Fri, 7 Apr 2000 03:33:32 +0100

Hi, Mel

I'm not sure what the question was in this paragraph. You seem to be
telling us the answer :-)

However, I seems to me that the "b" in there should not have quotes around
it, should it? Isn't "b" a variable that contains a value that you want?
Even if the variable contains a string, the variable itself should not be in
quotes, or the expression will be evaluated with the letter "b" there...

Also, since you are expecting a boolean value (ie, yes or no, true or
false...) I would use 1 or 0 for your values, but that's just stuck in my
brain, I don't know what the particular reason would be except it is faster
to evalute a true/false situation than a string and I'm more used to heavier
application programming; it probably doesn't make a measurable difference
here.

HTH

~~~~Cheri Harder~~~~~
charderatawsolution [dot] com
Advantage Web Solution
www.awsolution.com

> I need to change a variable's value from "true" to "false" (quotes for
> strings of course) here's the script I've used:
> Set Variable: Eval (Substring ("b",0,3) & current) = "false"
> basically, i want flash to return the number of this variable "b" which is
> part of an array loaded from a text file (there is b1-b103 and all are set
> to true, I need to set them to false as the game progresses, since they
are
> generated randomly, i need to have flash return the current one, and then
> change it's value to "false" if the question is answered correctly. any
> thoughts?



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 helpatchinwag [dot] com


Replies
  FLASH: more variables thankyouverymuch, mhoganatuclick [dot] com

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]