Page 6 of 12

Re: HMG 3.2 (Stable)

Posted: Sat Dec 14, 2013 1:21 am
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.

Re: HMG 3.2 (Stable)

Posted: Sat Dec 14, 2013 1:56 am
by CalScot
Thanks, Dr.
Good to know!
Regards,
CalScot

Re: HMG 3.2 (Stable)

Posted: Sun Dec 15, 2013 5:40 am
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 ...

Re: HMG 3.2 (Stable)

Posted: Sun Dec 15, 2013 1:20 pm
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

Re: HMG 3.2 (Stable)

Posted: Sun Dec 15, 2013 1:46 pm
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.

Re: HMG 3.2 (Stable)

Posted: Sun Dec 15, 2013 7:45 pm
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

Re: HMG 3.2 (Stable)

Posted: Sun Dec 15, 2013 9:16 pm
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

Re: HMG 3.2 (Stable)

Posted: Mon Dec 16, 2013 9:10 am
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

Re: HMG 3.2 (Stable)

Posted: Mon Dec 16, 2013 12:06 pm
by mol
Problem may appear when you will work with IDE version.

Re: HMG 3.2 (Stable)

Posted: Tue Dec 17, 2013 9:15 am
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;