because

sprite(miSpriteNum).memberNum = 10 + miAnswered

is too easy to read?

roymeo

At 03:13 PM 11/30/01 -0800, you wrote:
>Exactly. That's why this wasn't the right kind of solution for that kind of
>a problem. Still, it adequately illustrated the technique, which is what he
>was looking for. I generally use it for simple toggles:
>
>   sprite(miSpriteNum).memberNum = [10, 11][(miAnswered) + 1]
>
>Christopher Watson
>Sr. Software Engingeer
>Director/Shockwave Development
>Lightspan, Inc.
>Tel: 858.824.8457
>Fax: 858.824.8008
>
>
>-----Original Message-----
>From: Jeff Gomes [mailto:[EMAIL PROTECTED]]
>Sent: Friday, November 30, 2001 2:11 PM
>To: [EMAIL PROTECTED]
>Subject: RE: <lingo-l> Inline conditionals in Lingo?
>
>
>
>I use this method on occasion, but it fails in situations like the example
>given, because the contents of the list must be evaluated before the indexed
>value can be looked up.  Thus, if total does equal zero, we still get the
>divide by zero error.
>
>[To remove yourself from this list, or to change to digest mode, go to
>http://www.penworks.com/lingo-l.cgi  To post messages to the list,
>email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
>Lingo-L is for learning and helping with programming Lingo.  Thanks!]


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to