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

Rob sourceforge-raindog2 at ...94...
Mon Apr 6 06:13:23 CEST 2009


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




More information about the User mailing list