[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ff3d-users] Multiple if-statements...an issue?!
From: |
Arun Viswanathan |
Subject: |
Re: [ff3d-users] Multiple if-statements...an issue?! |
Date: |
Mon, 16 Aug 2004 13:23:42 -0700 (PDT) |
That's right Stephane. I first tried using an 'else'
but it returned errors and I couldn't solve them.
That's why I used 2 separate if-statements instead.
But I just tried the 'if-else' again and seems to work
perfectly now!! I guess whatever problem there was is
now solved.
Thanks,
Arun.
--- Stephane Del Pino <address@hidden> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello Arun.
>
> I think that you did not use the syntax that
> correspond to your needs.
> You want to do:
> if (C(xo)<C0) {
> do something on C
> } else {
> do something else on C
> }
> but you coded it like this:
> if (C(x0)<C0) {
> do something on C
> }
> if (C(x0)>=C0) {
> do something else on C
> }
> which is not the same thing since you are modifying
> C!
> C verifies the first assertion and then is modified.
> Then it can verify the
> second assertion, etc...
>
> I think that using the 'else' keywork is the
> solution.
>
> Best regards.
> Stephane.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.5 (GNU/Linux)
>
>
iD8DBQFBINVybZyhKhZwdc0RAtWlAKDQype4H3WPv6Vx7d90nospSm3e+wCfapOp
> kkULoAY9kL/7mJRRBa7QiyA=
> =TdqF
> -----END PGP SIGNATURE-----
>
>
> _______________________________________________
> ff3d-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/ff3d-users
>
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail