Hice pruebas de compilaci贸n de varios samples de FWH, sin problemas.
Ahora bien, al compilar un .prg mio me ocurre que me da error en una linea con clausula IN al consultar por una clave Hash
聽 if ! "PATHBACK" IN ::hIniBck
聽 聽 聽 ::hIniBck["PATHBACK"]:= Hash()
聽 聽 聽 ::hIniBck["PATHBACK"]["hdfuente" ]:= ""
聽 聽 聽 ::hIniBck["PATHBACK"]["hddestino"]:= ""
聽 else
聽 聽 聽 if hScan( ::hIniBck["PATHBACK"], {|k,v,i| k=="hdfuente" } ) == 0
聽 聽 聽 聽 聽::hIniBck["PATHBACK"]["hdfuente"]:= ""
聽 聽 聽 end
聽 聽 聽 if hScan( ::hIniBck["PATHBACK"], {|k,v,i| k=="hddestino" } ) == 0
聽 聽 聽 聽 聽::hIniBck["PATHBACK"]["hddestino"]:= ""
聽 聽 聽 end
聽 聽endError:
Harbour 3.2.0dev (r1307082134)que me falta?
Copyright (c) 1999-2013, http://harbour-project.org/
d:\MIHARB~1\TEmege\Sources\MGTBck32.prg(111) Error E0030 Syntax error "syntax error at 'IN'"
d:\MIHARB~1\TEmege\Sources\MGTBck32.prg(115) Error E0030 Syntax error "syntax error at 'ELSE'"
d:\MIHARB~1\TEmege\Sources\MGTBck32.prg(122) Error E0030 Syntax error "syntax error at 'END'"
d:\MIHARB~1\TEmege\Sources\MGTBck32.prg(123) Error E0030 Syntax error "syntax error at 'IN'"
Antonio:
Otro error en la compilaci贸n es sobre la funci贸n Str(), usada segun xHarbour, que tiene el formato:
Str( <nNumber> 聽 , ;
聽 聽 [<nLength>] 聽, ;
聽 聽 [<nDecimals>], ;
聽 聽 [<lTrim>] 聽 聽 聽) --> cStringdonde lo interesante es lTrim: This parameter defaults to .F. (false). When .T. (true) is passed, the returned string has no leading spaces.
Para harbour no es relevante esta implementaci贸n?
gracias
Chaco - Argentina