[Gambas-user] Strange behaviour of File.Read

bill-lancaster bill-lancaster at ...2231...
Wed Jun 21 15:36:01 CEST 2017


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.




More information about the User mailing list