Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | Odp: Odp: FLASH: BUG? (is: handler execution) |
| From: | axel |
| Date: | Tue, 15 Aug 2000 04:24:22 +0100 |
> It *is* being interpreted. It's just that every command in the frame is
> being interpreted and executed. First the goto and stop(3), and then
> the goto and stop(5). If you did this command in any language
>
> if i=2 then
> y=y+3
> endif
> y=y+5
>
> the y=y+5 will be executed regardless of whether i=2 or not (as you
> know). Brad and JD are just saying that goto commands work the same way
BAD EXAMPLE
NO! GO TO is a "jump" in any language
:1 (label)
i=1
:2
i=i+1
:3 (label)
if i=2 then
goto :5
endif
goto :2
... :5 - when program "jumps" i = 2
i your logic - never ending loop ;)
> -- Flash executes the first one (moving the playhead to 3 and stopping)
> and then the second one (since there is no else statement, the playhead
> is moved to 5 and stopped). Because you're moving the playhead and not
> carrying out a program jump, all the statements in the frame get
> executed. Gotta admit though that I didn't get this either til they
> explained.
why not carryiing - it should (as in any language)
all prior statements get executed - just carry about order (as in any language)
why i must counstruct complex (for more options), nested "if"'s ?
> Now a Q for you: what's the Odp that's at the start of all your
> messages? It makes it impossible to sort them by subject (ie thread)
> with all the others in the list (don't mean to sound nasty about it, but
> I have enough disorganization in my life already...)
Odpowiedz - Answer in polish.
I can't change that (or don't know where;)
axel
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Full flasher archive now available online at:
http://www.chinwag.com/flasher/archive.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email help
Replies
Re: Odp: FLASH: BUG? (is: handler execu, Cheri Harder
Replies
RE: FLASH: BUG? (is: handler execution), John Dowdell
Odp: FLASH: BUG? (is: handler execution, axel
Re: Odp: FLASH: BUG? (is: handler execu, Helen Triolo
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

