cFileExt

cFileExt

Postby cpheraclio » 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
cpheraclio
 
Posts: 11
Joined: Thu Mar 17, 2022 6:47 pm

Re: cFileExt

Postby Enrico Maria Giordano » Thu May 04, 2023 7:50 am

cpheraclio wrote:? cExt == cExt2
? cExt != cExt2


!= is the opposite of =
!= is not the opposite of ==
!( == ) is the opposite of ==
User avatar
Enrico Maria Giordano
 
Posts: 8716
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: cFileExt

Postby cpheraclio » Thu May 04, 2023 1:40 pm

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
cpheraclio
 
Posts: 11
Joined: Thu Mar 17, 2022 6:47 pm

Re: cFileExt

Postby Enrico Maria Giordano » Thu May 04, 2023 2:14 pm

cpheraclio wrote:? cExt == cExt2 FALSO
? cExt != cExt2 FALSO


? !( cExt == cExt2 )
User avatar
Enrico Maria Giordano
 
Posts: 8716
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 17 guests