[Gambas-devel] Enum
Benoit Minisini
gambas at ...1...
Sun Apr 15 09:17:01 CEST 2007
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
More information about the Devel
mailing list