cFileExt

Post Reply
cpheraclio
Posts: 11
Joined: Thu Mar 17, 2022 6:47 pm

cFileExt

Post by cpheraclio »

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
User avatar
Enrico Maria Giordano
Posts: 8728
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: cFileExt

Post by Enrico Maria Giordano »

cpheraclio wrote:? cExt == cExt2
? cExt != cExt2
!= is the opposite of =
!= is not the opposite of ==
!( == ) is the opposite of ==
cpheraclio
Posts: 11
Joined: Thu Mar 17, 2022 6:47 pm

Re: cFileExt

Post by cpheraclio »

Enrico Maria Giordano wrote:
cpheraclio 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
User avatar
Enrico Maria Giordano
Posts: 8728
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: cFileExt

Post by Enrico Maria Giordano »

cpheraclio wrote:? cExt == cExt2 FALSO
? cExt != cExt2 FALSO
? !( cExt == cExt2 )
Post Reply