jmon Well-Known Member Licensed User Longtime User Oct 10, 2019 #1 Hello, I may have found a problem with the warning number #17: The warning shows up in this case scenario: B4X: CallSubDelayed3(Me, "LoadSmallImage", CreateMap("Dir": File.DirAssets, "FileName": "image.png"), iv) I think the IDE expects a valid file name to be added after "File.DirAssets", eventhough in this case it a key from a map. Thanks for your support.
Hello, I may have found a problem with the warning number #17: The warning shows up in this case scenario: B4X: CallSubDelayed3(Me, "LoadSmallImage", CreateMap("Dir": File.DirAssets, "FileName": "image.png"), iv) I think the IDE expects a valid file name to be added after "File.DirAssets", eventhough in this case it a key from a map. Thanks for your support.
Erel B4X founder Staff member Licensed User Longtime User Oct 11, 2019 #2 Will be fixed. BTW, you don't need to use CallSubDelayed here. It is equivalent to: B4X: Sleep(0) If FileName<> ... LoadSmallImage(...) Return ... Else LoadSmallImage(...) Return ... End If
Will be fixed. BTW, you don't need to use CallSubDelayed here. It is equivalent to: B4X: Sleep(0) If FileName<> ... LoadSmallImage(...) Return ... Else LoadSmallImage(...) Return ... End If
jmon Well-Known Member Licensed User Longtime User Oct 11, 2019 #3 Thanks, good solution, I guess you saw that I was limited by the number of parameters of CallSubDelayed3!
Thanks, good solution, I guess you saw that I was limited by the number of parameters of CallSubDelayed3!