Re: [Gambas-user] (no subject)

2009-04-01 Thread Emil Tchekov
I am not so fluent in Gambas, but have made many char converters in the past... Instead of using IFs it is better to work with char codes (ASCII, UTFxx). Create Array with suitable char width (8, 16, 32 Byte) and fill in with what you need. As example: on InChar "A" should be shown sth. other. p

Re: [Gambas-user] (no subject)

2009-04-01 Thread Doriano Blengino
vlahonick vlahonick ha scritto: > thanks to all of you (special thanks to dominique tha solved the previous > problem) the project going on :D > but now another problem appears... > THE DIFTHONGS and the finishing greek sigma... > the code below is about the sigma but in greek is one more "ς" tha

[Gambas-user] (no subject)

2009-04-01 Thread vlahonick vlahonick
thanks to all of you (special thanks to dominique tha solved the previous problem) the project going on :D but now another problem appears... THE DIFTHONGS and the finishing greek sigma... the code below is about the sigma but in greek is one more "ς" tha goes only if a word ENDS with SIGMA (Σ/σ

Re: [Gambas-user] Function Len in gambas2

2009-04-01 Thread vlahonick vlahonick
> Date: Wed, 1 Apr 2009 23:50:15 +0200 > From: simonart.domini...@wanadoo.fr > To: gambas-user@lists.sourceforge.net > Subject: Re: [Gambas-user] Function Len in gambas2 > > vlahonick vlahonick a écrit : > > > > hi again...sorry about the delay in my reply :D > > but i really didnt understan

Re: [Gambas-user] (no subject)

2009-04-01 Thread ad...@micro-source.ch
First you set the Return String to the Input value and none of the If's is proceed. So, what goes In is coming Out. Regards, Werner FUNCTION Gronverter(sInChar AS String) AS String DIM sRetChar AS String = sInChar IF sInChar = "?" THEN sRetChar = "a" IF sInChar = "?" THEN sRetChar = "v" IF sInC

Re: [Gambas-user] Function Len in gambas2

2009-04-01 Thread Charlie Reinl
Am Mittwoch, den 01.04.2009, 23:46 +0300 schrieb vlahonick vlahonick: > > > > From: karl.re...@fen-net.de > > To: gambas-user@lists.sourceforge.net > > Date: Wed, 1 Apr 2009 22:14:47 +0200 > > Subject: [Gambas-user] Function Len in gambas2 > > > > Salut, > > > > am I wrong? but I think thats u

Re: [Gambas-user] Function Len in gambas2

2009-04-01 Thread Simonart Dominique
vlahonick vlahonick a écrit : > > hi again...sorry about the delay in my reply :D > but i really didnt understand ur example here > of course now i realise that even the textbox2.text had the reasult i wanted > the problem will > be in the letters appering because of their bytes... > but the

Re: [Gambas-user] Function Len in gambas2

2009-04-01 Thread vlahonick vlahonick
> From: karl.re...@fen-net.de > To: gambas-user@lists.sourceforge.net > Date: Wed, 1 Apr 2009 22:14:47 +0200 > Subject: [Gambas-user] Function Len in gambas2 > > Salut, > > am I wrong? but I think thats use for nothing as LEN works actually in > gambas2 > > from .gambas2/help/help/lang/l

[Gambas-user] Function Len in gambas2

2009-04-01 Thread Charlie Reinl
Salut, am I wrong? but I think thats use for nothing as LEN works actually in gambas2 from .gambas2/help/help/lang/len.html Len Syntax iLength = Len ( sArg AS String ) AS Integer Returns the byte count which is occupied by the String sArg. Each ASCII character which has the code 0 to 127 re

Re: [Gambas-user] (no subject)

2009-04-01 Thread Charlie Reinl
Am Mittwoch, den 01.04.2009, 20:52 +0300 schrieb vlahonick vlahonick: > > > > From: karl.re...@fen-net.de > > To: gambas-user@lists.sourceforge.net > > Date: Wed, 1 Apr 2009 18:14:32 +0200 > > Subject: Re: [Gambas-user] (no subject) > > > > Am Mittwoch, den 01.04.2009, 18:55 +0300 schrieb vlahon

Re: [Gambas-user] (no subject)

2009-04-01 Thread Simonart Dominique
vlahonick vlahonick a écrit : > > >> From: karl.re...@fen-net.de >> To: gambas-user@lists.sourceforge.net >> Date: Wed, 1 Apr 2009 18:14:32 +0200 >> Subject: Re: [Gambas-user] (no subject) >> >> Am Mittwoch, den 01.04.2009, 18:55 +0300 schrieb vlahonick vlahonick: >>> From: karl.re...@fen-ne

Re: [Gambas-user] (no subject)

2009-04-01 Thread vlahonick vlahonick
> From: karl.re...@fen-net.de > To: gambas-user@lists.sourceforge.net > Date: Wed, 1 Apr 2009 18:14:32 +0200 > Subject: Re: [Gambas-user] (no subject) > > Am Mittwoch, den 01.04.2009, 18:55 +0300 schrieb vlahonick vlahonick: > > > > > > > From: karl.re...@fen-net.de > > > To: gambas-user@list

Re: [Gambas-user] (no subject)

2009-04-01 Thread Doriano Blengino
Charlie Reinl ha scritto: > >>> first: tell us what version of Gambas you are using. >>> second: am I right, you are writing a kind of CONVERTER ? >>> >>> if so this is what I would write quickly. >>> >>> FUNCTION myConvert(sInChar AS String) AS String >>> DIM sRetChar AS String = sInChar ' m

Re: [Gambas-user] (no subject)

2009-04-01 Thread Charlie Reinl
Am Mittwoch, den 01.04.2009, 18:55 +0300 schrieb vlahonick vlahonick: > > > > From: karl.re...@fen-net.de > > To: gambas-user@lists.sourceforge.net > > Date: Wed, 1 Apr 2009 17:16:38 +0200 > > Subject: Re: [Gambas-user] (no subject) > > > > Am Mittwoch, den 01.04.2009, 17:06 +0300 schrieb vlahon

Re: [Gambas-user] (no subject)

2009-04-01 Thread vlahonick vlahonick
> From: karl.re...@fen-net.de > To: gambas-user@lists.sourceforge.net > Date: Wed, 1 Apr 2009 17:16:38 +0200 > Subject: Re: [Gambas-user] (no subject) > > Am Mittwoch, den 01.04.2009, 17:06 +0300 schrieb vlahonick vlahonick: > > Thanks you all for your replies > > For those that they propus

Re: [Gambas-user] (no subject)

2009-04-01 Thread vlahonick vlahonick
> From: karl.re...@fen-net.de > To: gambas-user@lists.sourceforge.net > Date: Wed, 1 Apr 2009 17:16:38 +0200 > Subject: Re: [Gambas-user] (no subject) > > Am Mittwoch, den 01.04.2009, 17:06 +0300 schrieb vlahonick vlahonick: > > Thanks you all for your replies > > For those that they propus

Re: [Gambas-user] (no subject)

2009-04-01 Thread Charlie Reinl
Am Mittwoch, den 01.04.2009, 17:06 +0300 schrieb vlahonick vlahonick: > Thanks you all for your replies > For those that they propuse me to put "end if" at the end of the code of > course i did that > In the screenshot i send you all it was just a part of the code,the theme of > the scree

Re: [Gambas-user] Package Files

2009-04-01 Thread cristian abarzua
Hello. Thanks for responding. Used Ubuntu 8.10 Intrepid Ibex, which brings the shrimp version 2.7. I want to try the 2.12 version, but I want to create Deb packages. I have dealt with: *$ Auto-apt run. / Configure $ Sudo make $ Sudo checkinstall * This usually fails. Do you know any website wher

Re: [Gambas-user] (no subject)

2009-04-01 Thread Doriano Blengino
vlahonick vlahonick ha scritto: > Thanks you all for your replies > For those that they propuse me to put "end if" at the end of the code of > course i did that > In the screenshot i send you all it was just a part of the code,the theme of > the screenshot was to show u the error. > If i

[Gambas-user] (no subject)

2009-04-01 Thread vlahonick vlahonick
Thanks you all for your replies For those that they propuse me to put "end if" at the end of the code of course i did that In the screenshot i send you all it was just a part of the code,the theme of the screenshot was to show u the error. If i didnt close the code with as many end if we

Re: [Gambas-user] Package Files

2009-04-01 Thread Marc Miralles
Hello Cristian Wath's your problem with debs? In Gambas web site we have all packages, and instructions about how to install it. In deb files or information about how to compile sources. http://gambas.sourceforge.net/ In Gambas web site go to download option and scrooll down to

Re: [Gambas-user] Dynamic Objects

2009-04-01 Thread Doriano Blengino
Rodney Rundstrom ha scritto: > Thanks for that I'll work thought over the next few day. One last question > on dynamic object (I think) how do we delete them and release the memory? > This is a matter unclear to me, anyway: an object is freed when no reference to it are in effect. When you inst

Re: [Gambas-user] Timer question

2009-04-01 Thread JB Skaggs
If I understand what you mean this is what I did to be able to pause and start a timer as the same spot and continue. Mind you I am just beginning to understand this stuff. So bear with the inefficient coding. ' Gambas class file PUBLIC a AS Integer ' for seconds PUBLIC i AS Integer ' for new ti

Re: [Gambas-user] (no subject)

2009-04-01 Thread Benoît Minisini
> Charlie Reinl ha scritto: > > Am Dienstag, den 31.03.2009, 22:23 +0200 schrieb Doriano Blengino: > >> Charlie Reinl ha scritto: > >>> Salut, > >>> > >>> you have to close 'If Then Else' by an 'Endif' > >>> Or you could write : > >>> > >>> If TextBox1.Text = "T" then TextBox2.Text = "T" > >>> If T

Re: [Gambas-user] (no subject)

2009-04-01 Thread Doriano Blengino
Charlie Reinl ha scritto: > Am Dienstag, den 31.03.2009, 22:23 +0200 schrieb Doriano Blengino: > >> Charlie Reinl ha scritto: >> >>> Salut, >>> >>> you have to close 'If Then Else' by an 'Endif' >>> Or you could write : >>> >>> If TextBox1.Text = "T" then TextBox2.Text = "T" >>> If TextBox

Re: [Gambas-user] (no subject)

2009-04-01 Thread Doriano Blengino
Charlie Reinl ha scritto: > Am Dienstag, den 31.03.2009, 22:23 +0200 schrieb Doriano Blengino: > >> Charlie Reinl ha scritto: >> >>> Salut, >>> >>> you have to close 'If Then Else' by an 'Endif' >>> Or you could write : >>> >>> If TextBox1.Text = "T" then TextBox2.Text = "T" >>> If TextBox

Re: [Gambas-user] What is the most asked question in gambas programming?

2009-04-01 Thread Rolf-Werner Eilert
jbskaggs schrieb: > To the oldtimers here: Out of curiousity what is the most common question > asked by newcomers to gambas besides install problems? What causes them the > most common problem? > > JB Just a guess - "how do I get data filled in a GridView" ? Maybe one could count contributions

Re: [Gambas-user] Timer question

2009-04-01 Thread Doriano Blengino
richard terry ha scritto: > On Wed, 1 Apr 2009 09:20:37 am jbskaggs wrote: > >> I use timers alot in the game I am writing. >> >> I just use timer1.delay=5 >> > that wasn't the question - I wanted to re-set the timer to stop the event > triggering until the key action pauses and then let t

Re: [Gambas-user] (no subject)

2009-04-01 Thread Benoît Minisini
> Hi!First of all many thanks to the developer and everybody that helped to > the creation and the now shape of this programming language... It was > really was linux missed... > Anyway... > I have a problem or "bug" at programming with gambas...I really searched > and googled to find out how to so