Flasher Archive

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


Subject: RE: FLASH: When to Use (Eval)?
From: Brad Merritt
Date: Mon, 12 Jun 2000 20:02:13 +0100


The rule is basiclly when you are looking for a value.

Lets say you have "Var1 = Shoes"

If you have
"n = 1"
"NewVar = "Var"&n

the return value is "Var1"

If you say
"n = 1"
"NewVar = Eval("Var"&n)

the return value is "Shoes"


brad



I'm looking for a clear explanation of when to use (Eval) and when not to
use it. Can someone come up with a clear rule I can pass along to my
students?

Thanks.

Marc Hoffman


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
www.flashforward2000.com
Produced by United Digital Artists and lynda.com
Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
shockwave.com and Electric Rain.
1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
Register before June 30 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


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