Rolando Abarca
6/4/2009 7:30:00 PM
On Jun 4, 2009, at 3:13 PM, Parv G. wrote:
> hi,
>
> i would like to do something like the following
>
> if true
> do_a
> else
> d_a
> d_b
> end
>
> Can this be done using ternary operator?
>
> This seem to give different result:
> ifTrue ? do_a : do_a and do_b
since you always "do_a", why no execute it always?
do_a
do_b if true
>
regards,
--
Rolando Abarca M.