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 but i get error

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_Click()

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 gam...@users.sourceforge.net 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

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 file `./ltmain.sh'

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 libtoolize: putting

[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.

[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

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

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 dos...@gmail.com 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

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 libtoolize: putting

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?) The next

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 previous rev

[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.