Re: [Gambas-user] GNU Basic?

2014-05-28 Thread Bruno Félix Rezende Ribeiro
, Karl knows better than me. Ps: I'm very excited about the prospect of GNU Basic! \o/ :-D Footnotes: [1] http://www.gnu.org/help/evaluation -- ,= ,-_-. =. Bruno Félix Rezende Ribeiro (oitofelix) [0x28D618AF] ((_/)o o(\_)) There is no system but GNU; `-'(. .)`-' GNU Lin

Re: [Gambas-user] A strategical move for two communities: Gambas and The GNU Project

2014-05-14 Thread Bruno Félix Rezende Ribeiro
g from you. Happy joining! Footnotes: [1] http://www.gnu.org/help/evaluation.html -- ,= ,-_-. =. Bruno Félix Rezende Ribeiro (oitofelix) [0x28D618AF] ((_/)o o(\_)) There is no system but GNU; `-'(. .)`-' GNU Linux-Libre is one of its official kernels; \_/ All software m

Re: [Gambas-user] A strategical move for two communities: Gambas and The GNU Project

2014-05-14 Thread Bruno Félix Rezende Ribeiro
elp/evaluation.html [2] https://www.gnu.org/prep/standards/html_node/index.html [3] https://www.gnu.org/prep/maintain/html_node/index.html -- ,= ,-_-. =. Bruno Félix Rezende Ribeiro (oitofelix) [0x28D618AF] ((_/)o o(\_)) There is no system but GNU; `-'(. .)`-' GNU Linux-Li

Re: [Gambas-user] A strategical move for two communities: Gambas and The GNU Project

2014-05-13 Thread Bruno Félix Rezende Ribeiro
It's also worth to add that Gambas being part of GNU will ease the adoption of programs written in Gambas by the GNU project and then further increase the visibility of Gambas language and its interpreter. My other two cents ;-) -- ,= ,-_-. =. Bruno Félix Rezende Ribeiro (oito

[Gambas-user] A strategical move for two communities: Gambas and The GNU Project

2014-05-13 Thread Bruno Félix Rezende Ribeiro
g/ [4] https://www.gnu.org/help/evaluation.html -- ,= ,-_-. =. Bruno Félix Rezende Ribeiro (oitofelix) [0x28D618AF] ((_/)o o(\_)) There is no system but GNU; `-'(. .)`-' GNU Linux-Libre is one of its official kernels; \_/ All software must be free as in freedom; signature.

Re: [Gambas-user] Wrapping methods which accept optional arguments

2014-05-09 Thread Bruno Félix Rezende Ribeiro
. ;-) > I didn't tested it with functions taking a variable number of > arguments yet. I've tested it, and all seems to be fine. Thank you very much! Happy hacking! -- ,= ,-_-. =. Bruno Félix Rezende Ribeiro (oitofelix) [0x28D618AF] ((_/)o o(\_)) There is no system but G

Re: [Gambas-user] Calling external function by pointer

2014-05-08 Thread Bruno Félix Rezende Ribeiro
interpreter coherency! Fair enough. Thank you. Happy hacking! -- ,= ,-_-. =. Bruno Félix Rezende Ribeiro (oitofelix) [0x28D618AF] ((_/)o o(\_)) There is no system but GNU; `-'(. .)`-' GNU Linux-Libre is one of its official kernels; \_/ All softwa

Re: [Gambas-user] Calling external function by pointer

2014-05-08 Thread Bruno Félix Rezende Ribeiro
it's IMHO still best to write C > components or at least small C cores and build a complete component > in Gambas on top of them. That's because we are compelled to work around Gambas limitations that should not exist in the first place. Regards. -- ,= ,-_-. =. Bruno Félix Rez

Re: [Gambas-user] Feature request: Make 'Pointer' a true integer type

2014-05-08 Thread Bruno Félix Rezende Ribeiro
ber type" also. Thank you for your dedication. Ps: I'm using Gambas 3.5.2. -- ,= ,-_-. =. Bruno Félix Rezende Ribeiro (oitofelix) [0x28D618AF] ((_/)o o(\_)) There is no system but GNU; `-'(. .)`-' GNU Linux-Libre is one of its official kernels; \_/ All s

Re: [Gambas-user] Calling external function by pointer

2014-05-08 Thread Bruno Félix Rezende Ribeiro
Em Wed, 07 May 2014 21:36:04 +0200 Benoît Minisini escreveu: > Le 07/05/2014 20:43, Bruno Félix Rezende Ribeiro a écrit : > > Em Wed, 07 May 2014 19:32:46 +0200 > > Benoît Minisini escreveu: > > > >> I'm afraid this is not possible, because the FFI librar

Re: [Gambas-user] Calling external function by pointer

2014-05-07 Thread Bruno Félix Rezende Ribeiro
er variable? -- ,= ,-_-. =. Bruno Félix Rezende Ribeiro (oitofelix) [0x28D618AF] ((_/)o o(\_)) There is no system but GNU; `-'(. .)`-' GNU Linux-Libre is one of its official kernels; \_/ All software must be free as in freedom; signature.asc Descr

[Gambas-user] Calling external function by pointer

2014-05-07 Thread Bruno Félix Rezende Ribeiro
in Gambas? Thanks in advance. -- ,= ,-_-. =. Bruno Félix Rezende Ribeiro (oitofelix) [0x28D618AF] ((_/)o o(\_)) There is no system but GNU; `-'(. .)`-' GNU Linux-Libre is one of its official kernels; \_/ All software must be free as in freedom;

Re: [Gambas-user] New syntax for using variables arguments in a function call

2014-05-07 Thread Bruno Félix Rezende Ribeiro
Em Tue, 06 May 2014 09:51:00 +0200 Benoît Minisini escreveu: > In revision #6252, I added the following syntax: [...] Thank you! That is a very useful feature. Happy Hacking! -- ,= ,-_-. =. Bruno Félix Rezende Ribeiro (oitofelix) [0x28D618AF] ((_/)o o(\_)) There is no system but

[Gambas-user] Feature request: Make 'Pointer' a true integer type

2014-04-27 Thread Bruno Félix Rezende Ribeiro
Integer longPointer void * Pointer long long Long However, the Gambas Wiki page [1], besides having an incomplete table which does not address 'char', 'short' and 'long long', says that the equivalent of C's 'long

Re: [Gambas-user] Feature request: absolute C data type equivalents and native type aliasing

2014-04-26 Thread Bruno Félix Rezende Ribeiro
ut I guess I haven't many options. :-( > I can't add any native datatype to Gambas at the moment. You must > wait for something like Gambas 4. :-) How long do I have to wait? :-P How can I help you? Thank you for your time. -- ,= ,-_-. =. Bruno Félix Rezende

[Gambas-user] Feature request: absolute C data type equivalents and native type aliasing

2014-04-25 Thread Bruno Félix Rezende Ribeiro
I'd suggest something that looks like: #If ARCH = "x86" # AliasType("CLong", "XID") #Else # AliasType("CInt", "XID") #Endif #AliasType("XID", "WindowID") #AliasType("XID", "FontID") Thanks in advan

Re: [Gambas-user] Inheriting, wrapping and casting

2014-04-24 Thread Bruno Félix Rezende Ribeiro
Em Thu, 24 Apr 2014 22:57:45 +0200 Benoît Minisini escreveu: > I fixed your patch, as it didn't work when using the "Object" > datatype. You get it in revision #6249. Thank you very much, Benoît! -- ,= ,-_-. =. Bruno Félix Rezende Ribeiro (oitofelix) [0x28D618AF] ((_/

Re: [Gambas-user] Advising methods of non-fixed argument tuple in a parent class

2014-04-22 Thread Bruno Félix Rezende Ribeiro
s possible, they are used > everywhere. I don't think that you need an "Update" event for every > array in your application, do you? No, I don't. It's a very specific use case. Thank you. Happy Hacking! -- ,= ,-_-. =. Bruno Félix Rezende Ribeiro (oitofelix) [0x

Re: [Gambas-user] Inheriting, wrapping and casting

2014-04-18 Thread Bruno Félix Rezende Ribeiro
your efforts coding on the interpreter. Footnotes: [1] http://sourceforge.net/p/gambas/mailman/message/30783547/ [2] http://code.google.com/p/gambas/issues/detail?id=78 [3] http://www.gnu.org/prep/standards/html_node/index.html -- ,= ,-_-. =. Bruno Félix Rezende Ribeiro (oitofelix) [

Re: [Gambas-user] Inheriting, wrapping and casting

2014-04-17 Thread Bruno Félix Rezende Ribeiro
gously but the other way around. The only major difference is that the interpreter doesn't have a standard implicit identity cast in this direction and therefore raises an error when one tries to use a 'SuperClass' object in a 'SubClass' context. The main point to emphasize

[Gambas-user] Inheriting, wrapping and casting

2014-04-17 Thread Bruno Félix Rezende Ribeiro
cast automatically upside or downside every time an object of certain class is used in a context that requires an object of another class but in the same hierarchy. What are your thoughts on that? Thank you. -- ,= ,-_-. =. Bruno Félix Rezende Ribeiro (oitofelix) [0x2

Re: [Gambas-user] Possible bug extending array class of non-native classes [Was: Advising methods of non-fixed argument tuple in a parent class]

2014-04-15 Thread Bruno Félix Rezende Ribeiro
nsion trick doesn't work with an array of a non-native class. The interpreter doesn't complain, but no events or methods defined in the extended class are raised or called. Could you please confirm this? Do you think this is a bug? If not, do you have an explanation for this

[Gambas-user] Wrapping methods which accept optional arguments

2014-04-15 Thread Bruno Félix Rezende Ribeiro
liminate the step of semantical analysis even without modification to the interpreter's code. My questions are: do you see any problem with the reasoning outlined above? Have you ever faced the same problem? Do you know some workaround? How do you think Gambas may be improved to sol

Re: [Gambas-user] Advising methods of non-fixed argument tuple in a parent class

2014-04-15 Thread Bruno Félix Rezende Ribeiro
at an 'Update' event as I've described would be a very nice core addition to the 'Array' class in the main distribution? It seems to me it would be generally useful for users. Poor 'Array' class... it doesn't have any events --- let's give it some us

[Gambas-user] Advising methods of non-fixed argument tuple in a parent class

2014-04-14 Thread Bruno Félix Rezende Ribeiro
tes: [1] I've borrowed the term "advice" from the GNU Emacs terminology for a very similar concept. Here is what its manual says about it: The "advice" feature lets you add to the existing definition of a function, by "advising the function". Th

Re: [Gambas-user] Interpreter's treatment of classes

2014-04-12 Thread Bruno Félix Rezende Ribeiro
=> gb.Class If(hClass.Class = MMain, "Equal", "Not Equal") ==> "Equal" I don't know if it's possible at all given the current implementation of the interpreter. In the case it happens to be possible and relatively easy to implement, it'd so

Re: [Gambas-user] Interpreter's treatment of classes

2014-04-12 Thread Bruno Félix Rezende Ribeiro
of things, I'm only using dynamic > object. And if I have a static class, I transform it into a > auto-instanciable dynamic class (like Forms objects, for example). > > If a class is auto-instanciable, using the class name as an object > automatically transforms the "gb.Clas

Re: [Gambas-user] Interpreter's treatment of classes

2014-04-11 Thread Bruno Félix Rezende Ribeiro
Em Fri, 11 Apr 2014 20:21:38 +0200 Tobias Boege escreveu: > On Fri, 11 Apr 2014, Bruno F??lix Rezende Ribeiro wrote: > > [...] > > That's expected as we may presume OBJECT-CLASS evaluates to an > > object, of the class 'Class', which describes the class &

Re: [Gambas-user] Interpreter's treatment of classes

2014-04-11 Thread Bruno Félix Rezende Ribeiro
is perfectly possible for dynamic classes, but I fail to see how to accomplish the same with static classes without the knowledge of its name at compilation time. > I will look more closely later. Please do. Thank you. -- ,= ,-_-. =. Bruno Félix Rezende Ribeiro (oitofelix) [0x28D618AF] ((_/)o

[Gambas-user] Interpreter's treatment of classes

2014-04-10 Thread Bruno Félix Rezende Ribeiro
to the issues presented above. One initial hope I had was that 'Function' were a native type of Gambas, as suggested by the expression evaluation 'TypeOf(FUNCTION) ==> gb.Function', where FUNCTION is the meta-syntactic variable for a function symbol i

Re: [Gambas-user] Gambas review on italian magazine "Gnu-Linux Magazine"

2008-06-21 Thread bruno
if someone send me the Article in Italian i can Translate it in French, Regards. Bruno Il giorno gio, 19/06/2008 alle 20.20 +0200, Benoit Minisini ha scritto: > On jeudi 19 juin 2008, Leonardo Miliani wrote: > > I would like to inform all the community that on the copy of July 2008 &

Re: [Gambas-user] Error lauching Gambas2 2.7.0 in Ubuntu 8.04

2008-06-19 Thread bruno
Alarm returned now version 2.7.0 works well. I do not know what I have to work (I am sorry not to know because now works) Maybe I uninstalled some program? Boooh! However recompiling everything now goes! . Thanks to all. Bruno. Il giorno gio, 19/06/2008 alle 18.20 +0200, Benoit

Re: [Gambas-user] Error lauching Gambas2 2.7.0 in Ubuntu 8.04

2008-06-19 Thread bruno
ror: ISO C++ forbids declaration of 'KURL' with no type CWebBrowser.h:84: error: 'KParts' has not been declared CWebBrowser.h:84: error: expected ',' or '...' before '*' token make[3]: *** [main.lo] Error 1 make[3]: Leaving directory `/usr/src/gambas2

[Gambas-user] Error lauching Gambas2 2.7.0 in Ubuntu 8.04

2008-06-19 Thread bruno
Hello All. When i launch Gambas 2.2.7.0 a message Box Appear with this Message: [11] unknown symbol 'border' in class 'container'. sidepanel.border_write.57 I use Ubuntu 8.0.4 P.S Gambas 2.2.4.1 Work OK. Someone has an Idea ---

Re: [Gambas-user] Or inside a Case

2008-06-17 Thread bruno
this work: SELECT CASE "adios" CASE "hola", "hello" TextBox1.text = "Hola Hello" CASE "adios", "bye" TextBox1.text = "Adios Bye" END SELECT Bye. Il giorno mar, 17/06/2008 alle 09.29 -0700, Nx GT-R BOY ha scritto: > Hi, I have a problem, I am not really sure how to

[Gambas-user] Re error launch Gambas 2.2.7.0

2008-06-17 Thread bruno
Re Post Scriptum installed Trunk Gambas3 2.99 Work Well - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/servi

[Gambas-user] Error lauching Gambas 2.2.7.0

2008-06-17 Thread bruno
Hello All. When i launch Gambas 2.2.7.0 a message Box Appear with this Message: [11] unknown symbol 'border' in class 'container'. sidepanel.border_write.57 I use Ubuntu 8.0.4 P.S Gambas 2.2.4.1 Work OK. Someone has an Idea --