[Gambas-user] array size limitations relative to available RAM and swap space

2010-01-21 Thread kevinfishburne
Using GAMBAS 2.19 I tried creating an array: PUBLIC Elevation AS Short[65536, 65536] With no data assigned to any of the array's elements, reading Elevation[0,0] shows a value of 24. I'm thinking it should be zero. Reading Elevation[4095,0] crashes the program. I tried reading Elevation[100,100]

Re: [Gambas-user] error when run gambas3 (rev 2623)

2010-01-21 Thread kobolds
thanks but another error show up when I open the project here I post the snapshot http://old.nabble.com/file/p27267531/snapshot2.png snapshot2.png Benoît Minisini wrote: > >> today I try update to gambas3 (rev 2623) . no problem when compiling the >> source but when I run I get this error >>

[Gambas-user] problem when run gambas3 (rev 2623)

2010-01-21 Thread kobolds
today I try update to gambas3 (rev 2623) . no problem when compiling the source but when I run I get this error ERROR #27: cannot load component 'gb.qt4" : /usr/local/lib/gambas3/gb.qt4.so: undefined symbol: _ZTV9CEmbedder I don't have any problem of compiling and running previous rev of gb3.

Re: [Gambas-user] error when run gambas3 (rev 2623)

2010-01-21 Thread Benoît Minisini
> today I try update to gambas3 (rev 2623) . no problem when compiling the > source but when I run I get this error > > ERROR #27: cannot load component 'gb.qt4" : > /usr/local/lib/gambas3/gb.qt4.so: undefined symbol: _ZTV9CEmbedder > > > I don't have any problem of compiling and running previo

[Gambas-user] error when run gambas3 (rev 2623)

2010-01-21 Thread kobolds
today I try update to gambas3 (rev 2623) . no problem when compiling the source but when I run I get this error ERROR #27: cannot load component 'gb.qt4" : /usr/local/lib/gambas3/gb.qt4.so: undefined symbol: _ZTV9CEmbedder I don't have any problem of compiling and running previous rev of gb3.

Re: [Gambas-user] Using an existing component to create a new version

2010-01-21 Thread Charlie Reinl
Am Donnerstag, den 21.01.2010, 18:19 +0100 schrieb Rolf-Werner Eilert: > The balloon component was easy to change and make install. But when I > update to another version of Gambas, I will have to make the changes again. > > So I thought it might be wiser to extract the balloon component into an

Re: [Gambas-user] Gambas3 svn installs now, but won't run

2010-01-21 Thread Laurent Carlier
Le jeudi 21 janvier 2010 22:01:53, Matti a écrit : > A never ending story... > > This bug has gone now. > If you have a Suse 11 machine, you can't use YaST, but have to install > manually - libtool 2.2.6b > - autoconf 2.65 > - automake 1.11 > (why do they at Suse don't provide the updates?) > >

Re: [Gambas-user] Gambas3 svn installs now, but won't run

2010-01-21 Thread Matti
A never ending story... This bug has gone now. If you have a Suse 11 machine, you can't use YaST, but have to install manually - libtool 2.2.6b - autoconf 2.65 - automake 1.11 (why do they at Suse don't provide the updates?) The next problem seems to me to be QT4 webkit. In the docs, I read that

Re: [Gambas-user] Compiling trunk

2010-01-21 Thread Peter Landgren
Den Thursday 21 January 2010 17.45.06 skrev Benoît Minisini: > > Den Thursday 21 January 2010 17.19.17 skrev Benoît Minisini: > > > > Hi, > > > > checked out a fresh Gambas 3 and tried to compile, but got into > > > > trouble. Console output: > > > > > > > > [prog...@hpd1 trunk]$ ./reconf-all > > >

Re: [Gambas-user] gtk error when input greek letters in textbox

2010-01-21 Thread Demosthenes Koptsis
yes i think this was it 2010/1/21 Dimitris Anogiatis > Demosthenes, > > I think it is because Greek letters are unicode characters > and unicode characters count as double and therefore any split will > be difficult to work with the usual string manipulation functions > > The recommended way to

Re: [Gambas-user] gtk error when input greek letters in textbox

2010-01-21 Thread Dimitris Anogiatis
Demosthenes, I think it is because Greek letters are unicode characters and unicode characters count as double and therefore any split will be difficult to work with the usual string manipulation functions The recommended way to split a string including unicode characters according to the documen

[Gambas-user] Using an existing component to create a new version

2010-01-21 Thread Rolf-Werner Eilert
The balloon component was easy to change and make install. But when I update to another version of Gambas, I will have to make the changes again. So I thought it might be wiser to extract the balloon component into an own project for myself to be there for every new version. After reading the d

[Gambas-user] gtk error when input greek letters in textbox

2010-01-21 Thread Demosthenes Koptsis
Hi, i use ubuntu 9.10 with gambas 2.13 i have a TextBox and insert Greek letters i get its string and split it in an array but i get this error Anagramatismos:7312): Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion `g_utf8_validate (text, len, NULL)' failed and the program do nothing.

Re: [Gambas-user] Compiling trunk

2010-01-21 Thread Peter Landgren
Den Thursday 21 January 2010 17.45.06 skrev Benoît Minisini: > > Den Thursday 21 January 2010 17.19.17 skrev Benoît Minisini: > > > > Hi, > > > > checked out a fresh Gambas 3 and tried to compile, but got into > > > > trouble. Console output: > > > > > > > > [prog...@hpd1 trunk]$ ./reconf-all > > >

Re: [Gambas-user] Compiling trunk

2010-01-21 Thread Benoît Minisini
> Den Thursday 21 January 2010 17.19.17 skrev Benoît Minisini: > > > Hi, > > > checked out a fresh Gambas 3 and tried to compile, but got into > > > trouble. Console output: > > > > > > [prog...@hpd1 trunk]$ ./reconf-all > > > libtoolize: putting auxiliary files in `.'. > > > libtoolize: copying fi

Re: [Gambas-user] Compiling trunk

2010-01-21 Thread Peter Landgren
Den Thursday 21 January 2010 17.19.17 skrev Benoît Minisini: > > Hi, > > checked out a fresh Gambas 3 and tried to compile, but got into trouble. > > Console output: > > > > [prog...@hpd1 trunk]$ ./reconf-all > > libtoolize: putting auxiliary files in `.'. > > libtoolize: copying file `./ltmain.sh'

Re: [Gambas-user] Compiling trunk

2010-01-21 Thread Benoît Minisini
> Hi, > checked out a fresh Gambas 3 and tried to compile, but got into trouble. > Console output: > > [prog...@hpd1 trunk]$ ./reconf-all > libtoolize: putting auxiliary files in `.'. > libtoolize: copying file `./ltmain.sh' > libtoolize: You should add the contents of the following files to > `a

Re: [Gambas-user] Recursion does not work

2010-01-21 Thread Demosthenes Koptsis
Tank u so much!!! it finally works! 2010/1/21 Benoît Minisini > > if i understood well i did this > > > > declare Function as > > > > PRIVATE FUNCTION anag(iStart AS Integer, iLen AS Integer, sArray AS > > String[]) 'vars are ByVal by default > > > > and from > > > > PUBLIC SUB Button1_Click()

Re: [Gambas-user] Recursion does not work

2010-01-21 Thread Matteo Pasotti
Hi, try adding parentheses to Copy sArray.Copy() -- Matteo Demosthenes Koptsis ha scritto: > if i understood well i did this > > declare Function as > > PRIVATE FUNCTION anag(iStart AS Integer, iLen AS Integer, sArray AS > String[]) 'vars are ByVal by default > > and from > > PUBLIC SUB Button1_

Re: [Gambas-user] Recursion does not work

2010-01-21 Thread Benoît Minisini
> if i understood well i did this > > declare Function as > > PRIVATE FUNCTION anag(iStart AS Integer, iLen AS Integer, sArray AS > String[]) 'vars are ByVal by default > > and from > > PUBLIC SUB Button1_Click() > ... > anag(0, iLen, sArray.Copy)'Make anagrams > > END > > bu

Re: [Gambas-user] Recursion does not work

2010-01-21 Thread Demosthenes Koptsis
if i understood well i did this declare Function as PRIVATE FUNCTION anag(iStart AS Integer, iLen AS Integer, sArray AS String[]) 'vars are ByVal by default and from PUBLIC SUB Button1_Click() ... anag(0, iLen, sArray.Copy)'Make anagrams END but i get error "Type mismatch, wa

Re: [Gambas-user] Recursion does not work

2010-01-21 Thread Benoît Minisini
> i found that > > Also, the contents of object > datatypes (array types, > collections, objects) are always passed by reference > in both languages! > from http://gambasdoc.org/help/doc/diffvb?view > > i think this is the problem! > > How to pass an Ar

Re: [Gambas-user] Recursion does not work

2010-01-21 Thread Demosthenes Koptsis
i found that Also, the contents of object datatypes (array types, collections, objects) are always passed by reference in both languages! from http://gambasdoc.org/help/doc/diffvb?view i think this is the problem! How to pass an Array byval in a functio

[Gambas-user] Recursion does not work

2010-01-21 Thread Demosthenes Koptsis
Hi, i use ubuntu 9.10 and Gambas 2.13 i create an anagram application port from phpAG http://phpag.sourceforge.net/ i completed the same app with VB5 and now i make it also in Gmabas To make anagrams i use recursion i face up with a problem of recursion. i call anag() function from PUBLIC SUB

Re: [Gambas-user] Gambas3 svn installs now, but won't run + GERMAN

2010-01-21 Thread Dag Jarle Johansen
Hi, I got the last SVN running without any troubles at all, thank god and who knows else for that :) I had to install my system complete new (Ubuntu 9.10 Desktop), and this time I skipped the Gambas-installation shipped with Ubuntu (2.13). I know, SVN should act indepentent from any installed vers