K kohle Active Member Licensed User Longtime User Feb 5, 2009 #1 I wrote as sub like this (in globals is the dim too) sub func_test() dim te(0) return te() end sub Work fine in Destop IDE , when I compile I get an error (Device/Windows.exe) Error: CS0266, Can´t convert type Object to string
I wrote as sub like this (in globals is the dim too) sub func_test() dim te(0) return te() end sub Work fine in Destop IDE , when I compile I get an error (Device/Windows.exe) Error: CS0266, Can´t convert type Object to string
Erel B4X founder Staff member Licensed User Longtime User Feb 5, 2009 #2 Currently you can only return regular (non array) variables.
K kohle Active Member Licensed User Longtime User Feb 5, 2009 #3 I´m new to basic4ppc. It´s confusing that it runs in the IDE without errors, but compiling seems to be different. Is there a list about the differences between IDE running <-> Device <-> Windows.exe The same problem with the different behavior of the combobox, IDE editable, Device not editable and Windows.exe editable.
I´m new to basic4ppc. It´s confusing that it runs in the IDE without errors, but compiling seems to be different. Is there a list about the differences between IDE running <-> Device <-> Windows.exe The same problem with the different behavior of the combobox, IDE editable, Device not editable and Windows.exe editable.
Erel B4X founder Staff member Licensed User Longtime User Feb 5, 2009 #4 I will file it as a bug. The IDE should have show an error just like the compiler.
M Mr_Gee Active Member Licensed User Longtime User Feb 5, 2009 #5 you can return it as a string and use split to get it into the array works for me