Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | Re: Basic Variables (was Re: FLASH: RE:random variable typing) |
| From: | 2Nerotik |
| Date: | Sat, 9 Oct 1999 08:20:54 +0100 |
Hmm looking at what I wrote and what you wrote they look the same.
Looking close I do see the difference in where you put the quotation marks
You'll all have to forgive me, been sick with the flu since Monday and my heads
still a little foggy otherwise I would (should) have caught that right away.
Even now I had to reread it four times to see why I was wrong.
Thanks John, know you'd set me straight if I got it wrong =c)
ohhh head hurts (literally) too much thinking... darn flu.
Question tho: why is the second example wrong ?
Would not this:
Set Variable: "variableName"="whatever"
return the plain text "whatever" if it was called to do so ?
At 05:11 PM 10/8/99 -0400, John Croteau wrote:
>Hi Guys,
>
>Nerotik your second example and statement is incorrect:
> > 2) IF whatever is NOT already a defined variable then variableName will
> > equal the text "whatever"
>Not true:
>
> > ex.1 "whatever"=20 then "variableName"="whatever"
> > makes "variableName"=20
>Nope variableName would be whatever.
>
>Set Variable: "whatever" = "20"
>Set Variable: "variableName" = whatever
>Makes variableName equal to 20
>
>For the right side of the equation if you want a literal string then put
>it in quotes or use the ABC button which adds quotes automatically.
>
>The following work the same because Flash is data typeless:
>
>Set Variable: "whatever" = "20"
>Set Variable: "value" = whatever + 10
>Value is 30
>
>Set Variable: "whatever" = 20
>Set Variable: "value" = whatever + 10
>Value is 30
>
>Set Variable: "whatever" = "20"
>If (Whatever) would evaluate as true since whatever is not zero.
>
>
>Whether the value of whatever is evaluated as a numeric, a string or a
>logical value depends on the what operator it is evaluated with.
>
>See --> Variables 1 again!!!!
>http://www.FlashBible.com/Members/ActionScript/Variables.htm
.oOo.
|| Nobody will ever win the battle of the sexes.
|| There's too much fraternizing with the enemy.
||
|| Addicted 2 Swing ---> http://www.nisa.net/~2nerotik/
|| Fontaholic ? ---> http://www.fontsanon.com
|| HTML Writers Guild ---> http://www.hwg.org
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California
Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email help
Replies
Re: Basic Variables (was Re: FLASH: RE:r, John Croteau
Replies
FLASH: RE:random variable typing, M T
Basic Variables (was Re: FLASH: RE:rando, John Croteau
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

