[mono-vb] Support for the ternary if construct

Rolf Bjarne Kvinge rolflists at ya.com
Tue Jun 22 13:10:42 EDT 2010


Hi,

Actually you're lucky, ternary ifs have already been implemented, you can
either wait for mono 2.8 or build mono-basic from source yourself :)

Rolf

> -----Mensaje original-----
> De: mono-vb-bounces at lists.ximian.com [mailto:mono-vb-
> bounces at lists.ximian.com] En nombre de CFP
> Enviado el: martes, 22 de junio de 2010 18:50
> Para: mono-vb at lists.ximian.com
> Asunto: [mono-vb] Support for the ternary if construct
> 
> Hello everyone,
> 
> Many of my projects written in VB.Net could be built using mono, save
> the fact that the ternary construct `If(Condition, TrueCase, FalseCase)`
> isn't supported yet. Is there a way to help with the implementation of
this
> construct, or is someone already working on this? Sadly my knowledge of
> the mono vb compiler is close to nothing, and yet I'd really be willing to
> see mono support this.
> 
> Of course, switching my ternary ifs to plain ifs is possible, but there
> are an approximate 60 of those in my code...
> 
> Thanks!
> CFP.
> 
> 
> 
> _______________________________________________
> Mono-vb mailing list
> Mono-vb at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-vb



More information about the Mono-vb mailing list