Dear all I read the tutorials all about hoe to use controls and define form except how to define variable in different data type and scope. I also long to know about passing paramenters to sub-routine and return something back from it.
Could anyone provide info?
Best Regards
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.