HMG 3.2 (Stable)

HMG Unicode versions 3.1.x related

Moderator: Rathinagiri

Post Reply
User avatar
srvet_claudio
Posts: 2044
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Has thanked: 35 times
Been thanked: 146 times
Contact:

Re: HMG 3.2 (Stable)

Post by srvet_claudio » Sat Dec 14, 2013 1:21 am

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: 274
Joined: Thu Mar 21, 2013 12:22 am
Location: California
Been thanked: 1 time

Post by CalScot » Sat Dec 14, 2013 1:56 am

Thanks, Dr.
Good to know!
Regards,
CalScot

User avatar
apais
Posts: 309
Joined: Fri Aug 01, 2008 6:03 pm
Location: uruguay
Has thanked: 50 times
Been thanked: 28 times
Contact:

Post by apais » Sun Dec 15, 2013 5:40 am

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 ...

User avatar
bpd2000
Posts: 1078
Joined: Sat Sep 10, 2011 4:07 am
Location: India
Has thanked: 197 times
Been thanked: 96 times

Post by bpd2000 » Sun Dec 15, 2013 1:20 pm

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: 2044
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Has thanked: 35 times
Been thanked: 146 times
Contact:

Post by srvet_claudio » Sun Dec 15, 2013 1:46 pm

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: 95
Joined: Sun Oct 14, 2012 8:33 am
DBs Used: DBF,MySql
Location: Tunisia
Been thanked: 1 time

Post by fouednoomen » Sun Dec 15, 2013 7:45 pm

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: 2044
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Has thanked: 35 times
Been thanked: 146 times
Contact:

Post by srvet_claudio » Sun Dec 15, 2013 9:16 pm

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: 291
Joined: Sat Jun 29, 2013 1:26 pm
Location: Algerie
Has thanked: 7 times
Been thanked: 11 times
Contact:

Post by tonton2 » Mon Dec 16, 2013 9:10 am

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: 3219
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 224 times
Been thanked: 125 times
Contact:

Post by mol » Mon Dec 16, 2013 12:06 pm

Problem may appear when you will work with IDE version.

User avatar
tonton2
Posts: 291
Joined: Sat Jun 29, 2013 1:26 pm
Location: Algerie
Has thanked: 7 times
Been thanked: 11 times
Contact:

Post by tonton2 » Tue Dec 17, 2013 9:15 am

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