Re: [Gambas-user] Bad string conversion etc.

2008-10-04 Thread Simonart Dominique
Hi, Rolf-Werner Eilert a écrit : > 2. Here "Maske" is a tabstrip. First it is checked that it has enough > tabs. Then the "current" tab is set. > > IF CInt(wert[0]) > Maske.Count THEN Maske.Count = CInt(wert[0]) > Maske.Index = CInt(wert[0] - 1) > > Gambas will stop at the second line complain

Re: [Gambas-user] Bad string conversion etc.

2008-10-04 Thread Rolf-Werner Eilert
Doriano Blengino schrieb: > Rolf-Werner Eilert ha scritto: >> Maske.Index = CInt(wert[0] - 1) >> > I would write: > > Maske.Index = CInt(wert[0]) - 1 Aaaargh - ok :-) You're right. This way it runs flawlessly of course. > Maske.Index = wert[0] - 1 > > > To let this last line work, ga

Re: [Gambas-user] Bad string conversion etc.

2008-10-04 Thread Doriano Blengino
Rolf-Werner Eilert ha scritto: > Still trying to convert a Gambas1 app to Gambas2. Basically, it begins > to run. However, there are strange error message at some points, and I > do not understand what causes them. > > IF CInt(wert[0]) > Maske.Count THEN Maske.Count = CInt(wert[0]) > Maske.Index

Re: [Gambas-user] Bad string conversion etc.

2008-10-01 Thread Rolf-Werner Eilert
Benoit Minisini schrieb: > On mercredi 01 octobre 2008, Rolf-Werner Eilert wrote: >> Still trying to convert a Gambas1 app to Gambas2. Basically, it begins >> to run. However, there are strange error message at some points, and I >> do not understand what causes them. >> >> 1. This line >> >> po =

Re: [Gambas-user] Bad string conversion etc.

2008-10-01 Thread Benoit Minisini
On mercredi 01 octobre 2008, Rolf-Werner Eilert wrote: > Still trying to convert a Gambas1 app to Gambas2. Basically, it begins > to run. However, there are strange error message at some points, and I > do not understand what causes them. > > 1. This line > > po = links.Find(wert[8], gb.Language) >

[Gambas-user] Bad string conversion etc.

2008-10-01 Thread Rolf-Werner Eilert
Still trying to convert a Gambas1 app to Gambas2. Basically, it begins to run. However, there are strange error message at some points, and I do not understand what causes them. 1. This line po = links.Find(wert[8], gb.Language) results in "Bad string conversion". Strange to me, as I do not se