Re: [Gambas-user] Issue 172 in gambas: Using static symbols on objects not consistent

2012-03-09 Thread gambas
Comment #13 on issue 172 by emil.len...@gmail.com: Using static symbols on objects not consistent http://code.google.com/p/gambas/issues/detail?id=172 Compiling gb.report... ReportBorder.class:5: error: Unexpected STATIC

Re: [Gambas-user] Issue 172 in gambas: Using static symbols on objects not consistent

2012-03-08 Thread gambas
Comment #10 on issue 172 by benoit.m...@gmail.com: Using static symbols on objects not consistent http://code.google.com/p/gambas/issues/detail?id=172 Is there actually any pending problem with this issue? --

Re: [Gambas-user] Issue 172 in gambas: Using static symbols on objects not consistent

2012-03-08 Thread gambas
Comment #11 on issue 172 by emil.len...@gmail.com: Using static symbols on objects not consistent http://code.google.com/p/gambas/issues/detail?id=172 I don't think it is that of a problem, it was only something strange I found ... Is there any other language with the same design?

Re: [Gambas-user] Issue 172 in gambas: Using static symbols on objects not consistent

2012-03-08 Thread gambas
Updates: Status: Fixed Comment #12 on issue 172 by benoit.m...@gmail.com: Using static symbols on objects not consistent http://code.google.com/p/gambas/issues/detail?id=172 I don't know. But I think that you should be able to change between a constant or a variable or a property

Re: [Gambas-user] Issue 172 in gambas: Using static symbols on objects not consistent

2012-01-01 Thread gambas
Updates: Labels: -Priority-Medium Priority-Low Comment #9 on issue 172 by benoit.m...@gmail.com: Using static symbols on objects not consistent http://code.google.com/p/gambas/issues/detail?id=172 (No comment was entered for this change.)

Re: [Gambas-user] Issue 172 in gambas: Using static symbols on objects not consistent

2011-12-28 Thread gambas
Comment #3 on issue 172 by emil.len...@gmail.com: Using static symbols on objects not consistent http://code.google.com/p/gambas/issues/detail?id=172 What is exactly the point in having both dynamic constants and static constants? They seem to behave equally. You can even access a dynamic

Re: [Gambas-user] Issue 172 in gambas: Using static symbols on objects not consistent

2011-12-28 Thread gambas
Comment #4 on issue 172 by emil.len...@gmail.com: Using static symbols on objects not consistent http://code.google.com/p/gambas/issues/detail?id=172 One little problem I can see is the following: Let's say you have obj1 and obj2 of class Class1. Class1 has a static variable 'a'. The

Re: [Gambas-user] Issue 172 in gambas: Using static symbols on objects not consistent

2011-12-28 Thread gambas
Comment #5 on issue 172 by benoit.m...@gmail.com: Using static symbols on objects not consistent http://code.google.com/p/gambas/issues/detail?id=172 There is no dynamic constant. The point is that you are using a symbol on an object reference, and the symbol kind (constant, property...

Re: [Gambas-user] Issue 172 in gambas: Using static symbols on objects not consistent

2011-12-28 Thread gambas
Comment #6 on issue 172 by benoit.m...@gmail.com: Using static symbols on objects not consistent http://code.google.com/p/gambas/issues/detail?id=172 There is no dynamic constant. The point is that you are using a symbol on an object reference, and the symbol kind (constant, property...

Re: [Gambas-user] Issue 172 in gambas: Using static symbols on objects not consistent

2011-12-28 Thread gambas
Comment #7 on issue 172 by emil.len...@gmail.com: Using static symbols on objects not consistent http://code.google.com/p/gambas/issues/detail?id=172 Of course real dynamic constants would be totally useless :) With static/dynamic constants I meant this: You can declare a const like this:

Re: [Gambas-user] Issue 172 in gambas: Using static symbols on objects not consistent

2011-12-28 Thread gambas
Comment #8 on issue 172 by benoit.m...@gmail.com: Using static symbols on objects not consistent http://code.google.com/p/gambas/issues/detail?id=172 Haa ok. Indeed, the static keyword is optional with the Const keyword, because constants are always static.

[Gambas-user] Issue 172 in gambas: Using static symbols on objects not consistent

2011-12-27 Thread gambas
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

Re: [Gambas-user] Issue 172 in gambas: Using static symbols on objects not consistent

2011-12-27 Thread gambas
Updates: Status: Accepted Labels: -Version Version-TRUNK Comment #1 on issue 172 by benoit.m...@gmail.com: Using static symbols on objects not consistent http://code.google.com/p/gambas/issues/detail?id=172 You are right. obj.f() and obj.c should raise the same error, because

Re: [Gambas-user] Issue 172 in gambas: Using static symbols on objects not consistent

2011-12-27 Thread gambas
Comment #2 on issue 172 by benoit.m...@gmail.com: Using static symbols on objects not consistent http://code.google.com/p/gambas/issues/detail?id=172 Mmm... Actually this is very useful to be allowed to do obj.c. Because sometimes you don't know the class of 'obj' at design time, or you