[Gambas-user] Conflict of names when extending the String class

Benoît Minisini gambas at ...1...
Thu Jan 28 12:33:44 CET 2010


> I want to extend the String class only like a learning goal, and when I
>  write:
> 
> EXPORT
> 
> CREATE STATIC
> 
> INHERITS String
> 
> I get the message: Syntax error: INHERITS need a class name...
> 
> How I could tell to Gambas that "String" isn't the String data type,
> but the String class?
> 

You can't, it's a bug. Well done. :-)

Hopefully I fixed it in revision #2648, so you will be able to do that soon.

-- 
Benoît Minisini




More information about the User mailing list