A Beginners Guide to Programming with Harbour and HMG

Topic Specific Tutorials and Tips.

Moderator: Rathinagiri

User avatar
mol
Posts: 2856
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 124 times
Been thanked: 65 times
Contact:

Re: A Beginners Guide to Programming with Harbour and HMG

Post by mol » Mon Jan 18, 2016 6:30 am

Hi!
Fine work!
I found such a staement:
FUNCTION is the first statement in your code file. A statement is, in effect, an instruction that your program will execute and in this case the statement is to create a User Defined Function (a UDF) which is unique to your program. As the name suggests, a function performs specific actions within the program. A function name, in this case Main(),can be of any length, but only the first 10 characters are significant with the rest being ignored. Names can contain any combination of characters, numbers, or underscores, but must begin with a character or an underscore. Leading underscores are not recommended since they are reserved for built-in functions.
I don't think the limitation of 10 characters per UDF name is valid in harbour...

Zimbo
Posts: 39
Joined: Mon Nov 05, 2012 1:28 pm
Location: Scotland
Has thanked: 3 times
Been thanked: 13 times
Contact:

Post by Zimbo » Tue Sep 06, 2016 10:26 am

Thanks, Mol, for highlighting this as an edit for me to make - my comment on this seems to be slightly misleading, so I will add this to my list of edits.

User avatar
dragancesu
Posts: 461
Joined: Mon Jun 24, 2013 11:53 am
DBs Used: DBF, MySQL, Oracle
Location: Subotica, Serbia
Has thanked: 3 times
Been thanked: 67 times

Post by dragancesu » Tue Sep 06, 2016 12:08 pm

Author deserves praise for text

And criticism of the design of the site, the more menu real problem, I know it is not easy to do but I think it's better to have one considers horizontal or vertical, and then put all

I read the texts, are good but lacks navigation, at the end of a text is customary to put

<previous> <content> <next>

and easy to move to the next text
-------------------------------------------------- ------
Small criticism for the author of the installation program:

Is it hard to folder to install the HMG put / added to the PATH?

Zimbo
Posts: 39
Joined: Mon Nov 05, 2012 1:28 pm
Location: Scotland
Has thanked: 3 times
Been thanked: 13 times
Contact:

Post by Zimbo » Wed Sep 21, 2016 2:21 pm

Hello and I FULLY agree with the comments about the site and it's appearance / navigation etc!

The reason for this is that I chose to learn HTML5, CSS3, JavaScript and PHP from SCRATCH before I started to explore the merits and attractions of using a CMS. I had wanted to have a good grasp of the underlying lying languages and, good news, I am now at the point where I am exploring the various CMS systems (I like WebSiteBaker so far)!

I am definitely planning to give the site a MAJOR facelift so that it looks a lot nices (let's be honest, a raw HTML/CSS site looks pretty horrible) but I expect that will be a month or so away as it will take me a little time to plan, build and test before I deploy it (I use XAMPP running on a Linux Mint platform and also had to learn BOTH of those platforms).

Zim

Zimbo
Posts: 39
Joined: Mon Nov 05, 2012 1:28 pm
Location: Scotland
Has thanked: 3 times
Been thanked: 13 times
Contact:

Post by Zimbo » Wed Sep 21, 2016 2:27 pm

I am pleased to confirm that after a very long break this year due to other work commitments that I have resumed work on further content in the guide.

I have just published chapter 10 which covers "Standard Data Types". The content can be found at http://www.harbour-guide.com

I am now hoping to be able to produce and publish the next few chapters whilst I am between jobs and taking a short break. This is a "part time" project which I do when I have spare time available; Hopefully, I won't get fresh work in too soon! :(

Zim

User avatar
esgici
Posts: 4346
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 232 times
Been thanked: 80 times
Contact:

Post by esgici » Wed Sep 21, 2016 2:53 pm

Zimbo wrote:I am pleased to confirm that after a very long break this year due to other work commitments that I have resumed work on further content in the guide.

I have just published chapter 10 which covers "Standard Data Types". The content can be found at http://www.harbour-guide.com

I am now hoping to be able to produce and publish the next few chapters whilst I am between jobs and taking a short break. This is a "part time" project which I do when I have spare time available; Hopefully, I won't get fresh work in too soon! :(

Zim
Hi Zim

Good work :)

Robust structure, clear and easy to understand explanation, cute user interface :arrow:

Please continue :)

Happy HMG'ing :D
Viva INTERNATIONAL HMG :D

User avatar
tonton2
Posts: 245
Joined: Sat Jun 29, 2013 1:26 pm
Location: Algerie
Has thanked: 3 times
Been thanked: 6 times
Contact:

Post by tonton2 » Wed Sep 21, 2016 9:41 pm

merci beaucoup Zimpo
c'est extra ce que vous faites
L'Algerie vous salut
Y.TABET

ROBROS
Posts: 61
Joined: Thu May 25, 2017 6:30 pm
DBs Used: DBF
Has thanked: 32 times
Been thanked: 1 time

Post by ROBROS » Wed Sep 13, 2017 6:46 pm

Hi Zimbo,
just found your work. Very useful.
Thank you.
Robert.

Post Reply