[Gambas-devel] Enum

Fabien Bodard gambas.fr at ...176...
Sun Apr 15 14:31:23 CEST 2007


no, just matter to say something interesting ...   ;)

2007/4/15, Benoit Minisini <gambas at ...1...>:
>
> On samedi 14 avril 2007, Fabien Bodard wrote:
> > Hi Benoit,
> >
> > Why the Enum.Index value is Null by default ?
>
> Because it is a variant. Enumeration are not necessarily indexed by a
> number.
>
> > It seem to be not really
> > practical, as i need to had a line like :
> >
> > IF IsNull(Enum.Index) THEN Enum.Index = 0
> >
> > In the head of the function... not really needed
> >
> > Fabien
>
> Well, it is not a drama :-)
>
> --
> Benoit Minisini
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Gambas-devel mailing list
> Gambas-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20070415/f9fb4274/attachment.html>


More information about the Devel mailing list