Re: [Gambas-user] Return an array in a function

2010-08-09 Thread Matías Manuel Grandi
your XML, as > you go through the XML and hit a new mix, create a new Mix object, when > you get to a User, create a new MixUser object... when you hit the end > of a Mix object, add that to the Response object... etc. etc. > > Sorry, I really have to go... let me know if you're sti

Re: [Gambas-user] Return an array in a function

2010-08-07 Thread Matías Manuel Grandi
Sorry, hi goes again!!! - Hi Guys! I have a problem when calling a function, which receive an xmlreader and returns an array. The function is geturl and the error gambas give me is "Type Mismatch: Wanted an Array, got an Array instead

[Gambas-user] Return an array in a function

2010-08-07 Thread Matías Manuel Grandi
Hi Guys! I have a problem when calling a function, which receive an xmlreader and returns an array. The function is geturl and the error gambas give me is "Type Mismatch: Wanted an Array, got an Array instead" The code is (a bit simplified): PUBLIC SUB

Re: [Gambas-user] Parsing a xml file from internet

2010-08-07 Thread Matías Manuel Grandi
2010/8/7 Caveat > Caveat Thanks Caveat, works great! -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev

[Gambas-user] Parsing a xml file from internet

2010-08-04 Thread Matías Manuel Grandi
Hi guys! First of all...I'm new to gambas! I'm traying to parse a xml from http://8tracks.com/sets/460486803/play.xml?mix_id=2000 I can get the file with the following code: ' Gambas class file PUBLIC url AS String PUBLIC SUB Form_Open() DIM reader AS XmlReader DIM h AS HttpClient DIM buffe