Page 1 of 1
How to declar variable in HMG
Posted: Mon Jun 07, 2010 3:34 pm
by huangchenmin
Re: How to declar variable in HMG
Posted: Mon Jun 07, 2010 4:10 pm
by esgici
Hi Tom,
HMG isn't a programming language, only a GUI library for Harbour compiler. So you can't find such informations in HMG docs.
Harbour consists of the xBase language compiler, so your question is about xBase language.
In this language variable declaration isn't mandatory, every variable gain their own type and scope "on the fly", that is when and where it is used first.
Please look at
here.
Especially:
5.Statements\LOCAL, MEMVAR, PARAMATER, PRIVATE and
PUBLIC items.
Regards
--
Esgici
Re: How to declar variable in HMG
Posted: Tue Jun 08, 2010 8:49 am
by huangchenmin
esgici wrote:Hi Tom,
HMG isn't a programming language, only a GUI library for Harbour compiler. So you can't find such informations in HMG docs.
........
Esgici
Thank You ,Sir!
