Flasher Archive

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


Subject: Re: FLASH: Variable variable names - aargh!
From: Helen Triolo
Date: Thu, 13 Apr 2000 13:50:38 +0100

Glenn Mitchell wrote:
>
> I'm trying to convert a list of values to percentages,
> the variable names are "value1", "value2" ... blah blah ...
>
> so anyway, I'm looping through the list using "count" and nothings happening
>
> Set Variable: "value" & count = 100 * Eval("value" & count)/total

Glenn,

I just snipped a line out of my flash file that I know works:

Set Variable: "p"&j = eval("ncount"&j)/ntotal * 100

Since it looks almost identical to yours (except for the space after the
"&", but I don't think that should matter), I'd suspect that your
problem is elsewhere in your code (what do you mean by "nothing's
happening"?)

Regards,
Helen
----------------------------------------
helen triolo � http://i-technica.com
designerati-technica [dot] com � 301-424-6037
----------------------------------------

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: Variable variable names - aargh!, Glenn Mitchell

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