[Gambas-user] In simple English could someone explain what the h does in instanciation?

Werner wdahn at ...1000...
Mon Apr 6 06:51:20 CEST 2009


jbskaggs wrote:
> Thanks.
>
> JB Skaggs
>
> Rob Kudla wrote:
>   
>> On Sunday 05 April 2009 23:15, jbskaggs wrote:
>>     
>>> dim hTextbox1 as Textbox
>>> vesus
>>> dim myTextbox1 as Textbox
>>> What is happening with these two different statements?
>>>       
>> The first one creates a new textbox object called hTextbox1.  The second 
>> creates a new textbox object called myTextbox1.  
>>
>> The use of "h" in object variable names is just a convention ("h" usually 
>> meaning "handle", like "p" or "ptr" in C programs usually 
>> means "pointer"), not syntactically significant.
>>
>> Rob
The full proposed naming convention is here:
http://www.gambasdoc.org/help/doc/naming?en

and another suggestion is here:
http://gambasdoc.org/help/doc/namingconvention?view






More information about the User mailing list