Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | Re: FLASH: (Expanded) working with variables |
| From: | Tim Brayshaw |
| Date: | Thu, 1 Jul 1999 09:51:20 +0100 |
At 15:39 30/06/99 +0000, you wrote:
>-- This frame directs the playhead depending on "button" value --
>Stop
>
>If (button = "wall")
>
> Go to and Play ("spraywall")
>
>End If
>
>If (button = "frieghts")
>
> Go to and Play ("frieghts")
>
>End If
hi, in this case your code should work, but maybe maybe try
If (button eq "wall")
i.e use a string comparison, the equals sign evaluates the lengths of the
strings.
Set Variable: "name" = "tim"
Trace (name = "tim") <-- returns TRUE
Trace (name eq "tim") <-- returns TRUE
Trace (name = "jim") <-- returns TRUE (number of chars: 3=3)
Trace (name eq "jim") <-- returns FALSE
regards
tim.
tel: 0117 9091372
mob: 07808 587598
fax: 0870 0520858
���: http://www.twisty.com/wageslave/
------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manager
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manager
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

