HMG 3.2 (Stable)

HMG Unicode versions 3.1.x related

Moderator: Rathinagiri

Post Reply
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: HMG 3.2 (Stable)

Post by srvet_claudio »

Hi CalScot.
CalScot wrote:When a change like this is made, do the downloadable files get updated so that anyone who downloads it from now on won't have to make these changes?
No, the downloadable files only is updated in the new releases.
CalScot wrote:I haven't downloaded 3.2 yet, and am wondering whether I need to remember to make this change when I do!
Yes, after download and before you use HMG.3.2.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
CalScot
Posts: 303
Joined: Thu Mar 21, 2013 12:22 am
Location: California

Re: HMG 3.2 (Stable)

Post by CalScot »

Thanks, Dr.
Good to know!
Regards,
CalScot
User avatar
apais
Posts: 440
Joined: Fri Aug 01, 2008 6:03 pm
DBs Used: DBF
Location: uruguay
Contact:

Re: HMG 3.2 (Stable)

Post by apais »

Time for a HMG 3.3 (including correct IDE and last minute changes ).
New users need a clean and stable version.
Even if it takes until HMG 3.9 to have one ...
Angel Pais
Web Apps consultant/architect/developer.
HW_apache (webserver modules) co-developer.
HbTron (Html GUI for harbour desktop hybrid apps) co-developer.
https://www.hbtron.com
User avatar
bpd2000
Posts: 1207
Joined: Sat Sep 10, 2011 4:07 am
Location: India

Re: HMG 3.2 (Stable)

Post by bpd2000 »

apais wrote:Time for a HMG 3.3 (including correct IDE and last minute changes ).
New users need a clean and stable version.
Even if it takes until HMG 3.9 to have one ...
May be 3.3.a..xyz
BPD
Convert Dream into Reality through HMG
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: HMG 3.2 (Stable)

Post by srvet_claudio »

bpd2000 wrote:
apais wrote:Time for a HMG 3.3 (including correct IDE and last minute changes ).
New users need a clean and stable version.
Even if it takes until HMG 3.9 to have one ...
May be 3.3.a..xyz
Would be ideal, but ...
although is not very nice the patches of source code have an advantage: they allow you to help me to test the changes before a new version comes out.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
fouednoomen
Posts: 186
Joined: Sun Oct 14, 2012 8:33 am
DBs Used: DBF, MySQL, MariaDB, SQLite, PostgreSQL, Oracle, ODBC
Location: Tunisia

Re: HMG 3.2 (Stable)

Post by fouednoomen »

Many thanks for all the team ,

I steel working with HMG 2.46 , i'm waiting every time for a stable version ,
my be i must wait for a long time because i write my programs in ainsi code (french language)
and evry time when a test a new version a have some problems ,so i return back
to HMG 2.46

I need your help to migrate definitely to the lasted version without any problems .
what i must add to my programs to work fine with this new release

Regards

Foued
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: HMG 3.2 (Stable)

Post by srvet_claudio »

fouednoomen wrote:Many thanks for all the team ,

I steel working with HMG 2.46 , i'm waiting every time for a stable version ,
my be i must wait for a long time because i write my programs in ainsi code (french language)
and evry time when a test a new version a have some problems ,so i return back
to HMG 2.46

I need your help to migrate definitely to the lasted version without any problems .
what i must add to my programs to work fine with this new release

Regards

Foued
Hi Foued.
See Doc:

Code: Select all

Since version HMG.3.1.0 (2012/11/25), HMG at the same time supports ANSI and Unicode character set, or only ANSI character set (for compatibility with previous versions) depending on the choice of compilation in the build of the library. By default HMG supports ANSI and Unicode character set. HMG-UNICODE required set 'Encoding in UTF-8' in your text editor for all the source code files which contain strings in languages using Unicode characters.

- SET CODEPAGE TO UNICODE    
    - Sets the character code page to UTF-8 (Unicode).
    - If HMG is compiled for support ANSI/Unicode character set: UTF-8 is default code page.

    - Note: The programs written entirely in ANSI can be compiled easily with HMG-UNICODE, adding to the beginning of the
  function MAIN() the appropriate ANSI code page, eg. SET CODEPAGE TO FRENCH, without need to disabling
  the COMPILE_HMG_UNICODE directive and rebuild the HMG library.
  The hybrid programs must alternate the appropriate ANSI code page with UTF-8 code page according to the needs.
 
      - Remember: To develop applications that support the ANSI/UNICODE character set, you should replace in your
                  programs ALL functions that ONLY support the ANSI character set, by ANSI/UNICODE equivalent functions.
 
 
   # Alternative string functions that support ANSI/Unicode character set
 
 
                     ANSI/UNICODE               ANSI Only
 
-          HMG_LEN()             <=>   LEN()
-          HMG_LOWER()           <=>   LOWER()
-          HMG_UPPER()           <=>   UPPER()
-          HMG_PADC()            <=>   PADC()
-          HMG_PADL()            <=>   PADL()
-          HMG_PADR()            <=>   PADR()
-          HMG_ISALPHA()         <=>   ISALPHA()
-          HMG_ISDIGIT()         <=>   ISDIGIT()
-          HMG_ISLOWER()         <=>   ISLOWER()
-          HMG_ISUPPER()         <=>   ISUPPER()
-          HMG_ISALPHANUMERIC()  <=>   RETURN (ISALPHA(c) .OR. ISDIGIT(c))
 
-          (*) HB_USUBSTR()      <=>   SUBSTR()
-          (*) HB_ULEFT()        <=>   LEFT()
-          (*) HB_URIGHT()       <=>   RIGHT()
-          (*) HB_UAT()          <=>   AT()
-          (*) HB_UTF8RAT()      <=>   RAT()
-          (*) HB_UTF8STUFF()    <=>   STUFF()
           (*) Harbour native functions
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
tonton2
Posts: 444
Joined: Sat Jun 29, 2013 1:26 pm
Location: Algerie
Contact:

Re: HMG 3.2 (Stable)

Post by tonton2 »

bonjour,
les 02 examples ci joints travaillent normalement

hello,
the examples above 02 seals normally work

Code: Select all

RECHERCHER := HMG_UPPER ( AllTrim ( InputBox( 'CLIENT a RECHERCHER Par NOM :' , 'RECHERCHE' ) ) )
RECHERCHER := UPPER ( AllTrim ( InputBox( 'CLIENT a RECHERCHER Par NOM :' , 'RECHERCHE' ) ) )
I don't see where is the difference
L'Algerie vous salut
Y.TABET
User avatar
mol
Posts: 3718
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: HMG 3.2 (Stable)

Post by mol »

Problem may appear when you will work with IDE version.
User avatar
tonton2
Posts: 444
Joined: Sat Jun 29, 2013 1:26 pm
Location: Algerie
Contact:

Re: HMG 3.2 (Stable)

Post by tonton2 »

mol wrote:Problem may appear when you will work with IDE version.
Iwork with IDE_UNICODE version
viewtopic.php?f=43&t=3405&start=30" onclick="window.open(this.href);return false;
L'Algerie vous salut
Y.TABET
Post Reply