[atl] use of if...then in helpers [message #35014] |
Sat, 28 April 2007 19:04 |
Eclipse User |
|
|
|
Originally posted by: touzitou.enstimac.fr
Hi to all;
My question is about the use of the (if...then )in helpers..
I can do it just if there is just one if , and one else.
like that:
if ...Condition
then....do1
else..do2
Endif
This is possible with helpers and without mistake.
but What I want to do is :
if ...Condition1
then....do1
else if ...Condition2
then....do2
else if ...Condition3
then....do3
else..do4
Endif
This is don't work ..there is syntax mistakes..
So what happen ? why i can't do that..? There is another solution???
Thxs much
Jihed
|
|
|
Re: [atl] use of if...then in helpers [message #35048 is a reply to message #35014] |
Sat, 28 April 2007 19:52 |
Eclipse User |
|
|
|
Originally posted by: eric.vepa.gmail.com
Hi jihed,
You have forgotten the "endif" for each inner if statement.
It may look like this :
if ...Condition1
then....do1
else if ...Condition2
then....do2
else if ...Condition3
then....do3
else..do4
endif
endif
endif
jihed touzi wrote:
> Hi to all;
> My question is about the use of the (if...then )in helpers..
> I can do it just if there is just one if , and one else.
> like that:
> if ...Condition
> then....do1
> else..do2
> Endif
>
> This is possible with helpers and without mistake.
> but What I want to do is :
>
> if ...Condition1
> then....do1
> else if ...Condition2
> then....do2
> else if ...Condition3
> then....do3
> else..do4
> Endif
>
> This is don't work ..there is syntax mistakes..
>
> So what happen ? why i can't do that..? There is another solution???
> Thxs much
>
> Jihed
--
Éric Vépa
|
|
|
Re: [atl] use of if...then in helpers [message #35082 is a reply to message #35048] |
Sat, 28 April 2007 20:48 |
Eclipse User |
|
|
|
Originally posted by: touzitou.enstimac.fr
Merci Eric !!
I think it will work !!
Éric Vépa wrote:
> Hi jihed,
>
> You have forgotten the "endif" for each inner if statement.
> It may look like this :
>
> if ...Condition1
> then....do1
> else if ...Condition2
> then....do2
> else if ...Condition3
> then....do3
> else..do4
> endif
> endif
> endif
>
> jihed touzi wrote:
>
>>Hi to all;
>>My question is about the use of the (if...then )in helpers..
>>I can do it just if there is just one if , and one else.
>>like that:
>>if ...Condition
>>then....do1
>>else..do2
>>Endif
>>
>>This is possible with helpers and without mistake.
>>but What I want to do is :
>>
>>if ...Condition1
>>then....do1
>>else if ...Condition2
>>then....do2
>>else if ...Condition3
>>then....do3
>>else..do4
>>Endif
>>
>>This is don't work ..there is syntax mistakes..
>>
>>So what happen ? why i can't do that..? There is another solution???
>>Thxs much
>>
>>Jihed
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03356 seconds