Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any
New issue 172 by emil.len...@gmail.com: Using static symbols on objects not consistent http://code.google.com/p/gambas/issues/detail?id=172 1) Describe the problem. Let's say you have an object "obj" of class Class1. Class1 has these symbols: Static Public Const c As Integer Static Public v As Integer Static Property p As Integer Static Public Sub f() If you now try to execute obj.f() or evaluating obj.c, that works. But evaluating obj.v or obj.p results in a runtime error "'Class1.v' is static". That is quite inconsistent. The same rules should be applied to all kind of symbols when they are static, but used on instances, I think... 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: r4343 ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user