marcick Well-Known Member Licensed User Longtime User Oct 3, 2024 #1 Inside a catch section, is it possibile to insert a nested try-catch?
drgottjr Expert Licensed User Longtime User Oct 3, 2024 #2 yes. why not just try and see what happens? B4X: Try File.ReadString(File.DirApp, "doesnotexist.txt") Catch Log(LastException) Try File.ReadString(File.DirApp, "doesnotexist2.txt") Catch Log(LastException) End Try End Try Last edited: Oct 4, 2024 Upvote 1
yes. why not just try and see what happens? B4X: Try File.ReadString(File.DirApp, "doesnotexist.txt") Catch Log(LastException) Try File.ReadString(File.DirApp, "doesnotexist2.txt") Catch Log(LastException) End Try End Try
marcick Well-Known Member Licensed User Longtime User Oct 4, 2024 #3 Thanks. It was a doubt ..... Upvote 0