> Apparently, the Xojo compiler is confused by the two methods with the same > name: “Files”. I have this: g=od.Files where g is a folderitem array and the > compiler complains: “Not enough arguments: missing Integer value for > parameter "index"”. > I haven't yet installed the most plugin version (currently using the one just > before, so if this has been fixed in the last release, please disregard.
Dim o As New OpenDialogMBS Dim f As FolderItem = o.files(1) Dim fi() As FolderItem = o.files This compiles fine here. We do have two methods there and one takes integer: Files(index as integer) as FolderItem Files as FolderItem() The reason is simply. If we just have one giving array, you can't get the array and directly use it without putting it in a variable. Ah, maybe your plugins are too old as Files is new function in v20.0 to return array. Sincerely Christian -- Read our blog about news on our plugins: http://www.mbsplugins.de/ _______________________________________________ [email protected] mailing list %(list_address)s https://ml-cgn08.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
