Przemyslaw Czerpak 9cc47dbdc2 2010-06-17 13:11 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/harbinit.prg
  * harbour/src/vm/runner.c
  * harbour/src/vm/hvm.c
    ! fixed the order in which HVM calls __SetHelpK() PRG function.
      It should be called after all INIT proc and before main application
      entry.
    * removed __SetHelpK() from thread initialization code.
    ! fixed the order in which INIT procedures are executed in single
      module - CA-Cl*pper calls INIT PROCEDUREs in the reverted order
      (from last to first)
    + added support for undocumented Clipper extension: two execution
      levels of INIT PROCEDUREs. When application starts CA-Cl*pper
      executes INIT PROCEDUREs called CLIPINIT from all linked PRG
      modules. Then it repeats this operation for all modules executing
      all other PROCEDUREs.

      Now Harbour and Clipper gives the same results for this code:
         proc main()
            ? PROCNAME()
         proc errorsys()
            ? PROCNAME()
         init proc INITPROC1()
            ? PROCNAME()
         init proc clipinit()
            ? PROCNAME()
         init proc INITPROC2()
            ? PROCNAME()
         proc __SetHelpK()
            ? PROCNAME()
         proc HELP()
2010-06-17 11:11:52 +00:00
Description
Harbour Core — Reference source for Five development
172 MiB
Languages
C 80.3%
xBase 17.8%
Makefile 0.6%
C++ 0.4%
Harbour 0.4%
Other 0.3%