HMG Beginner

New members who wish to post and participate in HMG Forum, please introduce yourselves in this forum by starting a new thread.

Moderator: Rathinagiri

Tristan
Posts: 40
Joined: Sun Jul 19, 2009 2:15 pm

HMG Beginner

Post by Tristan » Sun Jul 19, 2009 2:58 pm

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

User avatar
Rathinagiri
Posts: 5246
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 165 times
Been thanked: 164 times
Contact:

Post by Rathinagiri » Sun Jul 19, 2009 5:16 pm

Hi Tristan,

Hearty welcome to HMG Forum.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

User avatar
Rathinagiri
Posts: 5246
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 165 times
Been thanked: 164 times
Contact:

Post by Rathinagiri » Sun Jul 19, 2009 5:27 pm

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.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

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

Post by esgici » Mon Jul 20, 2009 12:23 am

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
Viva INTERNATIONAL HMG :D

User avatar
Rathinagiri
Posts: 5246
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 165 times
Been thanked: 164 times
Contact:

Post by Rathinagiri » Mon Jul 20, 2009 2:09 am

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.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

Tristan
Posts: 40
Joined: Sun Jul 19, 2009 2:15 pm

Post by Tristan » Mon Jul 20, 2009 2:52 am

Thank you all :)

Regards,

Tristan

gvaronas
Posts: 108
Joined: Wed Aug 06, 2008 5:21 pm

Post by gvaronas » Fri Dec 03, 2010 6:03 pm


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

User avatar
Rathinagiri
Posts: 5246
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 165 times
Been thanked: 164 times
Contact:

Post by Rathinagiri » Thu Dec 16, 2010 9:55 am

Hi,

Kindly prove that you are interested in HMG.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

flavio.veloso
Posts: 19
Joined: Mon Feb 14, 2011 5:16 pm

Post by flavio.veloso » Mon Feb 14, 2011 6:01 pm

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.

User avatar
Rathinagiri
Posts: 5246
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 165 times
Been thanked: 164 times
Contact:

Post by Rathinagiri » Mon Feb 14, 2011 6:20 pm

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.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

Post Reply