[Gambas-user] PRB: Completion 2 Symbol inconsistent
Benoit Minisini
gambas at ...1...
Mon Mar 22 22:35:14 CET 2004
On Friday 19 March 2004 13:55, ron wrote:
> Strict it is is right because the name is right however in the class using
> the property the _Read and _Write where not typed in the past.
> In class1 the _Read and _Write must for properties as the docmentation
> say's.
>
> -------
> 'class 1
>
> property read Name AS String
>
> private m_name as string
> private m_nameold as string
>
> public function Name_Read() as string
> return m_name
> end
> public function Name_Write() as string
> msgPopUp ("Can't do this")
> end
> public sub Rename(newnam as string)
> .......
> m_name=newnam
> end
> ---------
> 'class2
>
> public sub doit()
> if class1.Name="horse" then ....
> if class1.Name_Read="gambas" then ....
> end
> -------
>
>
> in class2 Name comes as Name_Read, Name_Write and Name_Rename
> in completion box. Do i something wrong or is this a beauty bug?
>
> Ron
>
>
Your story is very obscure!
But it helped me to find a bug in completion: property defined in a class were
not displayed. This will be fixed in the next version.
Regards,
--
Benoit Minisini
mailto:gambas at ...1...
More information about the User
mailing list