I must be missing something - any ideas?
Gambas3.9.2
Components, gb.form, gb,gui, gb.image

This is the code:-

Public Sub Button1_Click()
Dim s As String
  s = File.Load(User.Home &/ "Pictures/PhotoFolder.txt")
  Print s
  Print IsDir(s)
  Print IsDir("/home/bill/Pictures/Family/Visits/2000-07-29")
End

This is the output:-

"/home/bill/Pictures/Family/Visits/2000-07-29"

False
True





--
View this message in context: 
http://gambas.8142.n7.nabble.com/Strange-behaviour-of-File-Read-tp59467.html
Sent from the gambas-user mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to