Bug? Selection of class subs

klaus

Expert
Licensed User
You should use
getCounter() As String
in this case Counter is considered by the compiler as a property !
So you should return a value for Counter.
You could also use setCounter to set the Counter property.
If you want the routin being a subroutine you could use GetCounter or Get_Counter, in this case they will be considered as routines and not as Properties.
 

kohle

Active Member
Licensed User
I understood.

Please, put yourself in the position of a beginner.

What happen in my case :

1) Definitly I use jk.get_Counter and it works without an error.

2) On the right site I see in the List (tab modules) get_Counter

3) I only dont see it correct in the combobox.

For a beginner this is certainly not clear
What can be or not the developer of b4a should control. (Warning .... and so on)


rgs
Kohle
 
Top