Page 1 of 3

HMG Beginner

Posted: Sun Jul 19, 2009 2:58 pm
by Tristan
Hi All :P ,

I am very interested in HMG. I have some questions :

1. How to compile prg file ?
For example I have 3 .prg file to make 1 exe file.
- mainmenu.prg
- prog1.prg
- prog2.prg
In clipper I use .clp file

2. How to use "say" command ? Is it the same like clipper command ?
In clipper screen 80x24, what about in HMG ?

3. Is there DBFCDX library in HMG and how to use it ?

Thanks,

Tristan

Re: HMG Beginner

Posted: Sun Jul 19, 2009 5:16 pm
by Rathinagiri
Hi Tristan,

Hearty welcome to HMG Forum.

Re: HMG Beginner

Posted: Sun Jul 19, 2009 5:27 pm
by Rathinagiri
Tristan wrote:I have some questions :

1. How to compile prg file ?
For example I have 3 .prg file to make 1 exe file.
- mainmenu.prg
- prog1.prg
- prog2.prg
In clipper I use .clp file

2. How to use "say" command ? Is it the same like clipper command ?
In clipper screen 80x24, what about in HMG ?

3. Is there DBFCDX library in HMG and how to use it ?

Thanks,

Tristan
1. For compiling one or more .prg files, we can use two ways. One is 'compile.bat' (using 'set procedure to' inside the main.prg). Another one is, using HMG-IDE.

2. Instead of say command, here we use 'label'. In the case of HMG, since it is based on Windows API, the windows desktop size is the screen size, measured in pixels and not number of characters.

3. Yes, DBFCDX would be supported, since 'libdbfcdx.a' library is automatically included in the compiling process.

Re: HMG Beginner

Posted: Mon Jul 20, 2009 12:23 am
by esgici
Hi Tristan

Welcome aboard :)

In addition to nice answers of Rathinigiri to your questions :

1: You can use

#include "<another.prg>"

syntax too for batch compiling;

but IMO best way is using HMG_IDE.

2: By GUI way, equivalent of @ ... SAY command is LABEL control (this is for now; there is a promise by someone for DRAWTEXT command ;) ) In other hand, without GUI, that is CONSOLE MODE, you can use @ ... SAY command exactly same way as in Clipper.

3: For DBFCDX RDD, please look at my Answer 1: in here.

By the way, sorry dear Rathi, are you sure that we have a library named 'libdbfcdx.a' ? If so, where is it ?

Again, Tristan welcome to "free clipper for windows", please feel free for asking all you wonder.

Regards

--

Esgici

Re: HMG Beginner

Posted: Mon Jul 20, 2009 2:09 am
by Rathinagiri
By the way, sorry dear Rathi, are you sure that we have a library named 'libdbfcdx.a' ? If so, where is it ?
I have this library in c:\hmg\harbour\lib directory. Might have been copied from harbour original release. I thought it is from HMG official release. Sorry.

Re: HMG Beginner

Posted: Mon Jul 20, 2009 2:52 am
by Tristan
Thank you all :)

Regards,

Tristan

Re: HMG Beginner

Posted: Fri Dec 03, 2010 6:03 pm
by gvaronas

Hi Tristan:
http://harbourlanguage.blogspot.com/search/label/hbmk2

BestRegards
GVS

Tristan wrote:Hi All :P ,

I am very interested in HMG. I have some questions :

1. How to compile prg file ?
For example I have 3 .prg file to make 1 exe file.
- mainmenu.prg
- prog1.prg
- prog2.prg
In clipper I use .clp file

2. How to use "say" command ? Is it the same like clipper command ?
In clipper screen 80x24, what about in HMG ?

3. Is there DBFCDX library in HMG and how to use it ?

Thanks,

Tristan

Re: HMG Beginner

Posted: Thu Dec 16, 2010 9:55 am
by Rathinagiri
Hi,

Kindly prove that you are interested in HMG.

Re: HMG Beginner

Posted: Mon Feb 14, 2011 6:01 pm
by flavio.veloso
Mr rathinagiri.

Good afternoon.

My name is Flavio Veloso, Brazil.

1) The HMG 4.0 it will be made only to the harbor or will have a version for xharbour.org.
2) The compiler will be the same universal Mingw-GCC Gcc for Windows or Linux.

Greetings and thank the friends and all the answers.

Flávio Veloso.
Fortaleza - CE - Brazil.

Re: HMG Beginner

Posted: Mon Feb 14, 2011 6:20 pm
by Rathinagiri
Hi Flavio Veloso,

It gives me pleasure to welcome you here from India. As a HMG poster, now you can anywhere in this forum.

IMHO, HMG 4.0 can be compiled also in xHarbour, if xHarbour also utilizes the same QT functionality.