FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour hbmk2.exe no detecta variables
Posts: 1054
Joined: Sun Oct 09, 2005 10:41 PM
hbmk2.exe no detecta variables
Posted: Thu Oct 24, 2024 11:51 PM

HOla amigos..

hbmk2.exe no detecta cuando una variable sin declarar, al parecer la asume como MEMVAR...

se puede aumentar el factor de precisión ?

GRacias

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: hbmk2.exe no detecta variables
Posted: Fri Oct 25, 2024 04:37 AM

Estimado Willi,

Estas usando un fichero HBP ? Puedes copiarlo aqui ?

gracias

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1054
Joined: Sun Oct 09, 2005 10:41 PM
Re: hbmk2.exe no detecta variables
Posted: Fri Oct 25, 2024 02:51 PM
HOla Antonio, gracias por responder

este es el contenido de archivo

********************************
-gui

test.prg

-info
#-traceonly
-workdir=
-nodefgt
-gtgui
-gui

-optim-
-Ldflag+=-aa
-ID:\SOFT\FWXH2307\FWH\include
-LD:\SOFT\FWXH2307\FWH\lib

-lfiveh
-lfivehc
****************

y este es el codito de test.prg
Code (fw): Select all Collapse
#include "fivewin.ch"
Function Main()
local cVar1

cVar1 := "Hola "
cVar2 := "Mundo"                    <------------ aqui deberia parar por que la variable <cVar2> no esta declarada

? cVar1 + cVar2
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: hbmk2.exe no detecta variables
Posted: Fri Oct 25, 2024 05:33 PM

Usa el flag -w3 en el fichero HBP

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1054
Joined: Sun Oct 09, 2005 10:41 PM
Re: hbmk2.exe no detecta variables
Posted: Sat Oct 26, 2024 12:48 PM

Hola Antonio.,

Si bien es cierto que ese flag funciona, no detiene el proceso de compilacion, el make si lo hace.... .hbp es mas elegante en su sintaxis,

GRacias.....

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: hbmk2.exe no detecta variables
Posted: Sat Oct 26, 2024 12:56 PM

Añade este flag también:

-es2

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1054
Joined: Sun Oct 09, 2005 10:41 PM
Re: hbmk2.exe no detecta variables
Posted: Sat Oct 26, 2024 01:39 PM

Gracias por tu apoyo Antonio....

ya funciona.....

Continue the discussion