Page 1 of 1

HMG -GitBook

Posted: Thu Aug 04, 2016 4:49 pm
by Rathinagiri
Dear HMGians,

I have started converting HMG documentation in GitBook (https://www.gitbook.com/book/rathinagir ... lp/details)

The advantages of GitBook are:

- more people can contribute online.
- you can search the whole book by any keyword (Try it! You will enjoy!)
- can be downloaded at anytime in PDF/epub/mobi format (with table of contents and search enabled of course!)

Anybody willing to join with me?

Re: HMG -GitBook

Posted: Fri Aug 05, 2016 7:18 am
by serge_girard
Great Rathi! How can we help or join?

Serge

Re: HMG -GitBook

Posted: Fri Aug 05, 2016 7:32 am
by Rathinagiri
Thank you Serge.

I have added you as a collaborator and sent an email to you.

You can download the GitBook Editor for windows from here https://www.gitbook.com/editor/windows

First you go around and make familiar how things are managed. Then you can easily contribute.

Re: HMG -GitBook

Posted: Fri Aug 05, 2016 7:37 am
by mol
I can help, but, I'll be ready after 22. August

Re: HMG -GitBook

Posted: Fri Aug 05, 2016 8:21 am
by vagblad
Rathi that's great news! The more documentation we have the better!
I would love to help in any way i can!

Re: HMG -GitBook

Posted: Thu Aug 11, 2016 6:29 pm
by Rathinagiri
Conversion of HMG documentation in GitBook is over now.

You can see the GitBook online or download as PDF/epub/mobi format.

Please give your suggestions/comments if any. The link for the GitBook is available at the first post of this topic.

Re: HMG -GitBook

Posted: Fri Aug 12, 2016 4:43 am
by bpd2000
Dear Rathi
Thank you for your contribution and effort

Re: HMG -GitBook

Posted: Fri Aug 12, 2016 6:14 am
by Rathinagiri
Thank you.

Since both online and offline editing are possible, many can contribute for this book.

For example, today I have added the following in the documents:

HMG and Alternate Syntax:

All over this help document you can find that there are two types of syntax available for the definition of various controls. One is traditional '@ row, col CONTROLTYPE controlname' syntax and the alternate syntax with 'define....end' statements. Each synatx is having its own merits and demerits.

@ nRow, nCol CONTROLTYPE controlname

While '@ nRow, nCol CONTROLTYPE controlname' syntax is a single line simple syntax it requires the sequence of various properties of that control as it is. For example the following statement is right:

Code: Select all

@ 10,10 textbox t1 height 40 width 100
Where as the following is wrong

Code: Select all

@ 10,10 textbox t1 width 100 height 40
In other words, you have to memorize the sequentail order of the various properties also.

Alternate Syntax: DEFINE CONTROLTYPE controlname:

In the case of alternate syntax, the control definition is between DEFINE....END statements and the property values can be in any order. That is the advantage of alternate syntax though it requires more lines of coding.

For example, both the following are right:

Code: Select all

define textbox t1
   row 10
   col 10
   width 100
   height 30
end textbox

Code: Select all

define textbox t1
   row 10
   col 10
   height 30
   width 100
end textbox