Re: [Gambas-user] Get Output of Shell or Exec in TextArea.

2012-03-05 Thread Bill-Lancaster
This works, Public Sub Form_Open() Dim iIndex As Integer iIndex = FMain.GetIndex(sPID) If iIndex = 0 Then Return Inc Application.Busy Exec ["get_iplayer", "--info", iIndex, "--nocopyright"] For Read As "Contents" Dec Application.Busy End Public Sub Contents_Read() Dim s

Re: [Gambas-user] Gambas has Gosub now!

2012-03-05 Thread Benoît Minisini
Le 06/03/2012 02:11, Emil Lenngren a écrit : > Yeah, if there is no stack relocation, I can assume that a lot of pointers > into the stack will not change during other external calls, which should > make code more optimized. > > Since local variables and stack frames in gambas take up more space th

Re: [Gambas-user] Gambas has Gosub now!

2012-03-05 Thread Emil Lenngren
Yeah, if there is no stack relocation, I can assume that a lot of pointers into the stack will not change during other external calls, which should make code more optimized. Since local variables and stack frames in gambas take up more space than they do in C, I think the stack should be bit bigge

Re: [Gambas-user] Gambas has Gosub now!

2012-03-05 Thread Emil Lenngren
That code seems old and is not used I think. If it is used, it is not used correctly :) Because the stack can eat up all my memory if I do a lot of recursion. 2012/3/6 Benoît Minisini > Le 06/03/2012 02:00, Benoît Minisini a écrit : > > > > Maybe I should use getrlimit(RLIMIT_STACK, ...) to get

Re: [Gambas-user] Gambas has Gosub now!

2012-03-05 Thread Benoît Minisini
Le 06/03/2012 02:00, Benoît Minisini a écrit : > > Maybe I should use getrlimit(RLIMIT_STACK, ...) to get the maximum C > stack limit, and use it as the maximum Gambas stack limit too? > Hu... I'm already doing that... -- Benoît Minisini -

Re: [Gambas-user] Gambas has Gosub now!

2012-03-05 Thread Benoît Minisini
Le 05/03/2012 18:28, Emil Lenngren a écrit : > It is no strange at all that stack reallocation is slower and slower > as the recursion gets deeper. Because when the stack has to be > resized, a new memory area is allocated and the old stack is copied > over to the new, and the old gets freed. As t

Re: [Gambas-user] Bug? Gambas3, Menu editor

2012-03-05 Thread Benoît Minisini
Le 05/03/2012 11:01, Ivan Kern a écrit : > ... > > I also have another problem, see attachment. > > There are not a checked icon if i use the gb.qtk, > > but it is OK if i use the gb.qt4 > Sorry, everything seems normal with gb.gtk there. Can you provide a screenshot of what happens? -- Benoît

Re: [Gambas-user] Bug? Gambas3, Menu editor

2012-03-05 Thread Benoît Minisini
Le 05/03/2012 11:01, Ivan Kern a écrit : > Hello to all > > Sorry, there was something wrong on the first try. > > I'll try again. > > > The menu editor does not work with GTK + and QT4 > I get error message: > "[3] stack overflow. _GridView_Rows._get72" > >... That first problem is fixed in revi

Re: [Gambas-user] Gambas has Gosub now!

2012-03-05 Thread nando
Simple answer: yes Complex answer: yes -- Original Message --- From: Ru Vuott To: mailing list for gambas users Sent: Sun, 4 Mar 2012 15:23:24 + (GMT) Subject: Re: [Gambas-user] Gambas has Gosub now! > > But I get a compile error: > > error: 'TRANS_GOTO' has no member named

Re: [Gambas-user] Gambas has Gosub now!

2012-03-05 Thread Emil Lenngren
It is no strange at all that stack reallocation is slower and slower as the recursion gets deeper. Because when the stack has to be resized, a new memory area is allocated and the old stack is copied over to the new, and the old gets freed. As the recursion gets deeper, more and more data has to be

Re: [Gambas-user] DataSource & DataBrowser problem

2012-03-05 Thread John Rose
I'm not use if you've seen the post below so I've sent it again. Also, kendek has now setup his launchpad pps for Ubuntu to contain the # number on the launchpad web page. I downloaded his latest release (4533 for svn20120304)for Ubuntu Lucid and it still gave the same issues as below. -- Regards

[Gambas-user] Fileview

2012-03-05 Thread Bill-Lancaster
Gambas 3 1) Is it possible to adjust the column width in code? 2) Can the date format be changed? Bill Lancaster -- View this message in context: http://old.nabble.com/Fileview-tp33444102p33444102.html Sent from the gambas-user mailing list archive at Nabble.com. -

Re: [Gambas-user] Bug? Gambas3

2012-03-05 Thread Bruce Bruen
h. Not that I can see. Could you be a bit more informative. -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, Share