[Gambas-user] feature suggestion
Benoît Minisini
gambas at ...1...
Sun Jan 9 23:06:56 CET 2011
> Hi,
>
> Often I've to write things like that:
>
> With Joueur(0)
> If Joueur(2).Nombre(Joueur(2).C1) < .Nombre(.C1) Then ...
> ...
> End With
>
> As I already have a With Joueur(0) activated I cannot define
> another one for Joueur(2).
>
> It would be nice to have the possibility to define temporary
> Alias names inside a Procedure, as for example:
>
> ALIAS Joueur(2), J2
> With Joueur(0)
> IF J2.Nombre(J2.C1) < .Nombre(.C1) Then ...
> ...
> End With
>
> regards,
> Dominique Simonart
>
Maybe you can use a variable named J2 for that?
--
Benoît Minisini
More information about the User
mailing list