HMG Beginner
Moderator: Rathinagiri
HMG Beginner
Hi All ,
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
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
- Rathinagiri
- Posts: 5471
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: HMG Beginner
Hi Tristan,
Hearty welcome to HMG Forum.
Hearty welcome to HMG Forum.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
- Rathinagiri
- Posts: 5471
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: HMG Beginner
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.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
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.
South or North HMG is worth.
...the possibilities are endless.
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: HMG Beginner
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
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
- Rathinagiri
- Posts: 5471
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: HMG Beginner
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.By the way, sorry dear Rathi, are you sure that we have a library named 'libdbfcdx.a' ? If so, where is it ?
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
Re: HMG Beginner
Thank you all
Regards,
Tristan
Regards,
Tristan
Re: HMG Beginner
Hi Tristan:
http://harbourlanguage.blogspot.com/search/label/hbmk2
BestRegards
GVS
Tristan wrote:Hi All ,
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
- Rathinagiri
- Posts: 5471
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: HMG Beginner
Hi,
Kindly prove that you are interested in HMG.
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.
South or North HMG is worth.
...the possibilities are endless.
-
- Posts: 19
- Joined: Mon Feb 14, 2011 5:16 pm
Re: HMG Beginner
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.
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.
- Rathinagiri
- Posts: 5471
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: HMG Beginner
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.
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.
South or North HMG is worth.
...the possibilities are endless.