Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Please tell me why sPathfilename!=nname?
#1
it seems sPathfilename should be equal to nname,
butthe following program tells me that sPathfilename!=nname,
what is the trouble?


str m1="c:\aa\11.html"
str sPathfilename newname sPath
int nname=11
sPathfilename.getfilename(m1 1)
out sPathfilename
newname.from(nname ".html")
out newname
if sPathfilename!=nname
,out "very strange"


Regards,
Gear
#2
Shouldn't

if sPathfilename!=nname

be

if sPathfilename!=newname

?


Forum Jump:


Users browsing this thread: 1 Guest(s)