How am I supposed to find the method name for a specific type? Look at this TList example:
The naming convention rule I just made up above obviously does not work since the name
of the general reverse method then would be "ListReverse". This type of confusing naming also appears in the TPixmap implementation (and perhaps other places).
I can't find anything in the documentation of what methods are implemented in each type (have I missed something in the docs?). I could live with not having the methods explicitly described, but then we need a naming convetion that we ca rely on. Has anyone else noticed this problem?
//PetBom
Global myList:TList = CreateList() 'This method is stated in the documentation... ListAddLast(myList,"Something") 'This does the same thing myList.Addlast("Something Else")This would lead you to assume that all methods described as "ListSomething" is also implemented in the TList type as follows: Remove "List" from the method name and you've got the name of the type Method. But...
'Documented method... ReverseList(myList) 'This does the same thing... myList.Reverse()How am I supposed to find (besides trial and error) the valid methods on a type?
The naming convention rule I just made up above obviously does not work since the name
of the general reverse method then would be "ListReverse". This type of confusing naming also appears in the TPixmap implementation (and perhaps other places).
I can't find anything in the documentation of what methods are implemented in each type (have I missed something in the docs?). I could live with not having the methods explicitly described, but then we need a naming convetion that we ca rely on. Has anyone else noticed this problem?
//PetBom