Re: [Gambas-user] Suggestions 4 new keywords

2010-09-16 Thread Rolf-Werner Eilert
I think this could lead to misunderstanding if you keep the BASIC concept of "free" indention: > But if you want less keywords, you can do: > > PUBLIC '(a.k.a. Interface) >Age AS Byte > >setAge(Value AS Byte) > IF Value>= MinAge AND Value<= MaxAge THEN Age = Value >END > > Becaus

Re: [Gambas-user] Suggestions 4 new keywords

2010-09-16 Thread Rolf-Werner Eilert
>> >> http://old.nabble.com/Ideas4Gambas-to28782834.html > What does the "Z" stand for? A = {Z; x > -3; x < 5} =~ {-2,-1,0,1,2,3,4} Just because I'm interested in the syntax ;-) Regards Rolf -- Start uncovering the

[Gambas-user] "Deleting" Forms and Classes

2010-09-16 Thread Werner
This is scary stuff. When I right click on item on the list on the left side of the IDE a popup menu shows. One of the items is "Delete..." I remember the first time I came across it I was so scared that I left the IDE and made a backup of the project. As I then found out it doesn't actually del

Re: [Gambas-user] Suggestions 4 new keywords

2010-09-16 Thread Doriano Blengino
Fabián Flores Vadell ha scritto: > 2010/9/16 Doriano Blengino : > >> Ok, I will argue about it. From what I understand, the paradigm you >> describe looks similar to pascal (and C++): an interface section >> declares all the public symbols, which will be detailed (implemented) >> later. So every

Re: [Gambas-user] Testing DEVELOPMENT ENVIRONMENT in Gambas3

2010-09-16 Thread craf
-Mensaje original- De: Benoît Minisini Reply-to: mailing list for gambas users Para: mailing list for gambas users Asunto: Re: [Gambas-user] Testing DEVELOPMENT ENVIRONMENT in Gambas3 Fecha: Fri, 17 Sep 2010 04:08:42 +0200 > [ DEVELOPMENT ENVIRONMENT] > > Testing in Gambas3 Rev 3206 >

Re: [Gambas-user] Testing Gambas 2.99

2010-09-16 Thread craf
-Mensaje original- De: Benoît Minisini Reply-to: mailing list for gambas users Para: mailing list for gambas users Asunto: Re: [Gambas-user] Testing Gambas 2.99 Fecha: Fri, 17 Sep 2010 02:12:27 +0200 > Ubuntu : 10.4 > Gambas : 2.99 > Gnome : 2.30.2 > > [gb.form] > > * test ColorButto

Re: [Gambas-user] A suggestion for the code editor

2010-09-16 Thread Dag Jarle Johansen
Good idea, Benoit, even I could record that -lol Ctrl-D ist just fine. Regards Dag Am Freitag, den 17.09.2010, 04:07 +0200 schrieb Benoît Minisini: > > I agree Matti, some more little functions in the editor of the IDE would > > be fine. I always liked to delete a line or the selected source w

Re: [Gambas-user] gambas 3 release or otherwise as binary package

2010-09-16 Thread Dag Jarle Johansen
Am Freitag, den 17.09.2010, 02:09 +0200 schrieb Benoît Minisini: > > Benoit, > > > > do you have a plan on when gambas 3 will be formally released? > > IMHO it is quite stable now. > > > > The reason I ask is Richard and I are within sight of releasing a > > stable version of our software, and

Re: [Gambas-user] Testing DEVELOPMENT ENVIRONMENT in Gambas3

2010-09-16 Thread Benoît Minisini
> [ DEVELOPMENT ENVIRONMENT] > > Testing in Gambas3 Rev 3206 > SO: Ubuntu 9.10 i386 > > * When you save a project with the name of another existing project. Not > indicated by a message that the project already exists as gambas2. > > Regards. > > Cristian Abarzua F > "Saving as" has been reim

Re: [Gambas-user] A suggestion for the code editor

2010-09-16 Thread Benoît Minisini
> I agree Matti, some more little functions in the editor of the IDE would > be fine. I always liked to delete a line or the selected source with > Ctrl-Y. (Using the German keyboard it is next to Crtl) > CTRL+Y is alread used for undo, and CTRL+K (another possible shortcut) is used for commenti

Re: [Gambas-user] A suggestion for the code editor

2010-09-16 Thread Benoît Minisini
> It happens quite often (at least to me, blockhead) that a line of code has > to be moved to one ore some lines up or down. > > Right now, I can't see another way to do this than marking the line and > using Ctrl-X and Ctrl-V. > > My very old text program in the office has a nice command "Alt+Up

Re: [Gambas-user] Suggestions 4 new keywords

2010-09-16 Thread Benoît Minisini
> > > > I mean that declaring a public variable with PUBLIC or with ATTRIBUTE is > > always declaring a public variable, with another keyword. > > But keyword have a meaning. Words are the starting point for reasoning > about something. > > For example, the keyword PUBLIC refers to the scope of

Re: [Gambas-user] Suggestions 4 new keywords

2010-09-16 Thread Fabián Flores Vadell
2010/9/16 Benoît Minisini : >> > So, replacing one word (for example PUBLIC) by another (ATTRIBUTE), >> > whereas the implementation is the same behind is not a good idea, >> > because then this is not BASIC anymore. >> >> I'm never said that PUBLIC would be replaced by ATTRIBUTE. That have no >> s

Re: [Gambas-user] Testing Gambas 2.99

2010-09-16 Thread Benoît Minisini
> Ubuntu : 10.4 > Gambas : 2.99 > Gnome : 2.30.2 > > [gb.form] > > * test ColorButton : When selecting a color, the button does not display > the selected color. > It works perfectly there. *Please* provide a little project example to show bugs! > [gb.qt4] > > * Test Form : Fmain.center no

Re: [Gambas-user] gambas 3 release or otherwise as binary package

2010-09-16 Thread Benoît Minisini
> Benoit, > > do you have a plan on when gambas 3 will be formally released? > IMHO it is quite stable now. > > The reason I ask is Richard and I are within sight of releasing a > stable version of our software, and we would like to submit it to > debian/ubuntu/fedora etc for inclusion, but it wo

Re: [Gambas-user] Suggestions 4 new keywords

2010-09-16 Thread Dag Jarle Johansen
Hi to all, Am Freitag, den 17.09.2010, 00:06 +0200 schrieb Benoît Minisini: > > 2010/9/16 Benoît Minisini : > > > (1) First, you must realize that the syntax is not the implementation. In > > > a more general way, the word is not the thing. We are confused by that > > > all the life. :-) > > >

[Gambas-user] gambas 3 release or otherwise as binary package

2010-09-16 Thread Ian Haywood
Benoit, do you have a plan on when gambas 3 will be formally released? IMHO it is quite stable now. The reason I ask is Richard and I are within sight of releasing a stable version of our software, and we would like to submit it to debian/ubuntu/fedora etc for inclusion, but it would depend on th

Re: [Gambas-user] Suggestions 4 new keywords

2010-09-16 Thread Benoît Minisini
> 2010/9/16 Benoît Minisini : > > (1) First, you must realize that the syntax is not the implementation. In > > a more general way, the word is not the thing. We are confused by that > > all the life. :-) > > What are you talking about? That, for me, the implementation, i.e. the internals of the

Re: [Gambas-user] someshort="xy" returns "Wanted short, got string instead"

2010-09-16 Thread Benoît Minisini
> > > > Hi Benoît. Maybe there's a better way for me to have come to this point, > > but here's what's happening: > > > > A server app retrieves sets of data from five binary files and stores > > them consecutively in a string. The first set is a 48x48 grid of shorts > > for a total of 4608 bytes

Re: [Gambas-user] Suggestions 4 new keywords

2010-09-16 Thread Fabián Flores Vadell
2010/9/16 Benoît Minisini : > (1) First, you must realize that the syntax is not the implementation. In a > more general way, the word is not the thing. We are confused by that all the > life. :-) What are you talking about? > So, replacing one word (for example PUBLIC) by another (ATTRIBUTE), w

Re: [Gambas-user] Suggestions 4 new keywords

2010-09-16 Thread Fabián Flores Vadell
2010/9/16 Doriano Blengino : > Ok, I will argue about it. From what I understand, the paradigm you > describe looks similar to pascal (and C++): an interface section > declares all the public symbols, which will be detailed (implemented) > later. So every method declaration must be written twice, i

Re: [Gambas-user] Form.Enabled = False

2010-09-16 Thread Matti
Yes, of course. Sometimes I am stupid. Am 16.09.2010 12:53, schrieb Benoît Minisini: >> Sorry, I don't understand. >> How can I "implement the event handler"? >> Confused >> Matti >> > > "implement the event handler" means that you wrote a "Public Sub > MyControl_Event()" function to handle an e

Re: [Gambas-user] someshort="xy" returns "Wanted short, got string instead"

2010-09-16 Thread tobias
hi, > > tobias-47 wrote: >> i forgot the asc() functions, of course: >> >> PUBLIC FUNCTION GetShort(sWord AS String) AS Short >> >> RETURN Asc(Mid$(sWord, 1, 1)) * 256 + Asc(Mid$(sWord, 2, 1)) >> >> END >> >> or alternatively, you can assign the positions in the asc() function, like >> >> RE

Re: [Gambas-user] Another issue on postgresql compenent in gb3 (gb2 also fails)

2010-09-16 Thread emanuele sottocorno
Thanks to all, everything works fine now. Also the Tables.Indexes.Add Emanuele -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift

Re: [Gambas-user] Suggestions 4 new keywords

2010-09-16 Thread Benoît Minisini
> > Hum many sugars are possible in gambas ... but i'm ot the master ... > wait for Benoit ... i'm just a slave ... a poor slave... :P > > > I've query some things too : > > For each type in array must return only object of type 'Type' > > why not "MyString".Len() ? or MyStringVar.Mid(2,1), o

Re: [Gambas-user] Suggestions 4 new keywords

2010-09-16 Thread Benoît Minisini
> Hi Benoît. Below I expose some suggestions for new and alternative > keywords. > > PUBLIC and PRIVATE keywords defines the scope for attributes and > methods, but this words come from (or evokes) modular/structured > programming. Because PUBLIC methods and attributes (and properties) > define th

Re: [Gambas-user] Problems installing Gambas3. Rev 3223 [SOLVED]

2010-09-16 Thread craf
Solved with Rev 3226. Regards. Cristian Abarzua F >-Mensaje original- >De: craf >Reply-to: mailing list for gambas users > >Para: Lista Gambas Ingles >Asunto: [Gambas-user] Problems installing Gambas3. Rev 3223 >Fecha: Thu, 16 Sep 2010 01:29:06 -0400 >Hi. >Do not know what happened,

Re: [Gambas-user] Another issue on postgresql compenent in gb3 (gb2 also fails)

2010-09-16 Thread Laurent Carlier
Le jeudi 16 septembre 2010 12:52:08, Benoît Minisini a écrit : > > > Le jeudi 16 septembre 2010 09:52:15, emanuele sottocorno a écrit : > > > > Hi Benoît, > > > > thanks for the answer. > > > > I'm trying to install rev 3223 bat make fails with error: > > > > > > > > SDLfont.cpp:222: error: ‘TTF_S

Re: [Gambas-user] Form.Enabled = False

2010-09-16 Thread Benoît Minisini
> Sorry, I don't understand. > How can I "implement the event handler"? > Confused > Matti > "implement the event handler" means that you wrote a "Public Sub MyControl_Event()" function to handle an event. If you do not write an event handler, the event is not sent. Regards, -- Benoît Minisi

Re: [Gambas-user] Another issue on postgresql compenent in gb3 (gb2 also fails)

2010-09-16 Thread Benoît Minisini
> > Le jeudi 16 septembre 2010 09:52:15, emanuele sottocorno a écrit : > > > Hi Benoît, > > > thanks for the answer. > > > I'm trying to install rev 3223 bat make fails with error: > > > > > > SDLfont.cpp:222: error: ‘TTF_STYLE_STRIKETHROUGH’ was not declared in > > > this scope > > > SDLfont.cpp:

Re: [Gambas-user] Another issue on postgresql compenent in gb3 (gb2 also fails)

2010-09-16 Thread Benoît Minisini
> Le jeudi 16 septembre 2010 09:52:15, emanuele sottocorno a écrit : > > Hi Benoît, > > thanks for the answer. > > I'm trying to install rev 3223 bat make fails with error: > > > > SDLfont.cpp:222: error: ‘TTF_STYLE_STRIKETHROUGH’ was not declared in > > this scope > > SDLfont.cpp:225: error: ‘TTF

Re: [Gambas-user] Another issue on postgresql compenent in gb3 (gb2 also fails)

2010-09-16 Thread Laurent Carlier
Le jeudi 16 septembre 2010 09:52:15, emanuele sottocorno a écrit : > Hi Benoît, > thanks for the answer. > I'm trying to install rev 3223 bat make fails with error: > > SDLfont.cpp:222: error: ‘TTF_STYLE_STRIKETHROUGH’ was not declared in this > scope > SDLfont.cpp:225: error: ‘TTF_STYLE_STRIKETHR

Re: [Gambas-user] Another issue on postgresql compenent in gb3 (gb2 also fails)

2010-09-16 Thread emanuele sottocorno
Hi Benoît, thanks for the answer. I'm trying to install rev 3223 bat make fails with error: SDLfont.cpp:222: error: ‘TTF_STYLE_STRIKETHROUGH’ was not declared in this scope SDLfont.cpp:225: error: ‘TTF_STYLE_STRIKETHROUGH’ was not declared in this scope SDLfont.cpp: In member function ‘bool SDLfon