[Gambas-user] In simple English could someone explain what the h does in instanciation?
jbskaggs
jbskaggs at ...1871...
Mon Apr 6 06:37:56 CEST 2009
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
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
--
View this message in context: http://www.nabble.com/In-simple-English-could-someone-explain-what-the-h-does-in-instanciation--tp22901580p22902059.html
Sent from the gambas-user mailing list archive at Nabble.com.
More information about the User
mailing list