Re: [Gambas-user] Array's

2011-06-06 Thread Fabien Bodard
Public ids as new integer [7,24] in your declaration you create an embedded aray not a dynamic one 2011/6/7 Shane Powell : > Hi everyone I have this code > > public ids[7,24] as integer > > public sub clearit() > ids.Clear > end > > and i get embedded array error at the clear call > can anyone te

[Gambas-user] Array's

2011-06-06 Thread Shane Powell
Hi everyone I have this code public ids[7,24] as integer public sub clearit() ids.Clear end and i get embedded array error at the clear call can anyone tell me the reason for this ? thanks -- EditLive Enterprise is th

[Gambas-user] gb3: sending variable of date datatype over UDP

2011-06-06 Thread Kevin Fishburne
Any reason this code wouldn't work? ' Server-side: UDP_Write_56(pip[p], pport[p], tsid[p], Date) Public Sub UDP_Write_56(ip As String, port As Integer, id As Byte, serverdate As Date) ' Send "date update" transaction to specified IP address and port over UDP. ' Define target's IP addre

Re: [Gambas-user] Unable to split string containing ascii characters

2011-06-06 Thread Jesus
El 06/06/11 09:25, Caveat escribió: > > I don't really know what it is you're ultimately trying to achieve but > if you need to do extensive string manipulations perhaps even involving > regular expressions, perl might be a better choice. If you're trying to > parse web-pages, then python with

Re: [Gambas-user] Barcode example for Gambas3

2011-06-06 Thread Fabien Bodard
2011/6/5 EA7DFH : > El 05/06/11 10:29, charlesg escribió: >> >> >> shordi wrote: >>> >>> I can't open the file > > Me too... It is a common issue when attachments come from Nabble thing :-o > > >>> >> >> Shordi >> >> Hmm.. I don't have a problem (ub10.10 32bit) but have had this in the past. >>

Re: [Gambas-user] Unable to split string containing ascii characters

2011-06-06 Thread Bruce Bruen
On 06/06/11 09:25, Caveat wrote: > You're asking the wrong question. What you meant to ask was whether > anyone thought it necessary to include that functionality in the > language itself. > > Splitting your string on "AE" is easily done, for example: > >DIM aString AS String >DIM strings

Re: [Gambas-user] Unable to split string containing ascii characters

2011-06-06 Thread Caveat
For myself, apology accepted, but then I'm not the one that spent the last 12 years of his life dedicating hour after hour and day after day to developing such an amazing language as Gambas :-) Hearing your frustration, I'm wondering whether you're taking a corkscrew to crack a nut (or a nut-crack