FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour cFileExt
Posts: 26
Joined: Thu Mar 17, 2022 06:47 PM
cFileExt
Posted: Wed May 03, 2023 10:11 PM
cFile:="C:\Users\Admin\Documents\Projects\dbf\timbres.xlsx"
cExt:=Upper(cFileExt(cFile))
cExt2:="XLS"

? cExt,cExt2

? cExt == cExt2
? cExt != cExt2

En los 2 casos retorna FALSO :shock:

FiveWin 2203, xHarbour 10264
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: cFileExt
Posted: Thu May 04, 2023 07:50 AM
cpheraclio wrote:? cExt == cExt2
? cExt != cExt2
!= is the opposite of =
!= is not the opposite of ==
!( == ) is the opposite of ==
Posts: 26
Joined: Thu Mar 17, 2022 06:47 PM
Re: cFileExt
Posted: Thu May 04, 2023 01:40 PM
Enrico Maria Giordano wrote:
? cExt == cExt2
? cExt != cExt2
!= is the opposite of =
!= is not the opposite of ==
!( == ) is the opposite of ==
Gracias por responder.

? cExt == cExt2 FALSO
? cExt != cExt2 FALSO

? cExt2 == cExt FALSO
? cExt2 != cExt VERDADERO
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: cFileExt
Posted: Thu May 04, 2023 02:14 PM
cpheraclio wrote:? cExt == cExt2 FALSO
? cExt != cExt2 FALSO
? !( cExt == cExt2 )

Continue the discussion