[Gambas-user] Class name bug.
Demosthenes Koptsis
demosthenesk at ...626...
Mon Jun 27 09:09:21 CEST 2011
ok.
On Mon, 2011-06-27 at 00:28 +0200, Benoît Minisini wrote:
> > some more examples
> >
> > i have classes
> >
> > cA
> > cB
> > cC
> >
> > cB inherits cA
> > cC inherits cB
> >
> > 1) With 2 characters as class names the file browser did not show
> > correct the class tree.
> >
> > 2) After INHERITS instruction the class name is capitalized
> >
> > 3) in Main module i get
> >
> > Dim hObject As Cc
> > hObject = New Cc
> >
> > as autocorect, but the name of third class is cC and not Cc.
> >
>
> The IDE assumes that all class names starts with an uppercase letter.
>
> It is not formally required by the compiler, because the language is case
> unsensitive.
>
> But it is a naming convention I decided to enforce in the IDE, so that class
> names are easily identified at first sight.
>
> Regards,
>
--
Regards,
Demosthenes Koptsis.
More information about the User
mailing list