[Gambas-user] Class names
bsteers4 at gmail.com
Fri Apr 28 17:46:21 CEST 2023
On Fri, 28 Apr 2023, 16:39 Bruce Steers, <bsteers4 at gmail.com> wrote:
> Your ami class can have a "property" called Connection.
> Making a class called Connection will conflict/override an existing class
> of the same name.
That's only if you are using the component that has Connection.class.
If you are not using the component that has Connection.class then you
should be able to create a class called Connection.class without problems.
> But the class does not need to be called Connection if the property name
> You can create a class called AmiConnection.class
> Then in Ami.class
> Property Connection as AmiConnection
> For example.
> On Fri, 28 Apr 2023, 14:22 Mayost Sharon, <sharon at 455.co.il> wrote:
>> Is it possible to give a name to the class even if there is a class with
>> such a name in GAMBAS
>> For example:
>> If I want to create a class called:
>> and another class named
>> Because I want to reach:
>> My connection is a type of TCP communication
>> The Connection class is not a Database Connection
>> Could it conflict with GAMBAS Connection?
>> Or first it is better to give names that are not in GAMBAS
>> Sorry, hope the English translation went well
>> Thank you
>> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the User