Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any
New issue 196 by emil.len...@gmail.com: Inline arrays with different types http://code.google.com/p/gambas/issues/detail?id=196 1) Describe the problem. There are some cases where different types prevent an inline array from being created. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: r4406 3) Provide a little project that reproduces the bug or the crash. Dim a As New Integer[1] Dim b As New Float[1] Print [a, b, 1] It thinks Object[] is the correct array-type to create, resulting in bad conversion (runtime error) from Integer to Object. The correct array-type would be a Variant[]. ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user