[Gambas-user] Use of Embedder Component

2016-12-24 Thread Martin McGlensey
Hello, I trying to embed a window running on the desktop in a form. The test app is simple a form with a button and a frame. The code below is attached to the "Start" button. I'm running Gambas 3.9.1 under Mint 17 with the Mate desktop. What is the correct syntax for the Desktop.FindWindow

[Gambas-user] Christmas

2016-12-24 Thread Mike Crean
Merry Christmas to all of our Gambaser's. A cool one in Perth WA this year low 39;s for the big day/ Seasons greetings fromMike Crean -- Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi proces

Re: [Gambas-user] Convert string to integer array

2016-12-24 Thread adamn...@gmail.com
On Sat, 24 Dec 2016 11:05:00 +0100 Benoît Minisini wrote: > Le 24/12/2016 à 09:44, Fabien Bodard a écrit : > > Public Sub Main() > > > > Dim s As String > > Dim i As String > > Dim a As New Integer[] > > ''1) with no knowledge of the number of values > > 'init the string > > s = "[12,

Re: [Gambas-user] Convert string to integer array

2016-12-24 Thread Casper
An elegant solution, one just has to love the Gambas language! a.Add(i) is the part I overlooked, it takes a while to change one's old habits. To all, have a Great Christmas. In this part of South Africa there is a heatwave with temperatures into the high thirties for Christmas. On 24/12/2016, B

Re: [Gambas-user] Convert string to integer array

2016-12-24 Thread Benoît Minisini
Le 24/12/2016 à 09:44, Fabien Bodard a écrit : > Public Sub Main() > > Dim s As String > Dim i As String > Dim a As New Integer[] > ''1) with no knowledge of the number of values > 'init the string > s = "[12,32,3]" > > 'remove unused spaces and braquets > For Each i In Split(Left(R

Re: [Gambas-user] Convert string to integer array

2016-12-24 Thread Fabien Bodard
Public Sub Main() Dim s As String Dim i As String Dim a As New Integer[] ''1) with no knowledge of the number of values 'init the string s = "[12,32,3]" 'remove unused spaces and braquets For Each i In Split(Left(Right(Trim(s), -1), -1)) a.Add(i) Next 'display the arr