Re: [Gambas-user] How to delete copy of class/object

2012-01-19 Thread Ron
yes looks like i need that, will try, thanks alot! Ron Op 19 jan. 2012 17:29 schreef "Jussi Lahtinen" het volgende: > Maybe I don't understand the question, but why not just like this: > > Do > >ProcessIt(oMyMsg[0]) > >oMyMsgs.Remove(0) > > Loop Until oMyMsg.Count = 0 > > > Jussi > > > >

Re: [Gambas-user] How to delete copy of class/object

2012-01-19 Thread Jussi Lahtinen
Maybe I don't understand the question, but why not just like this: Do ProcessIt(oMyMsg[0]) oMyMsgs.Remove(0) Loop Until oMyMsg.Count = 0 Jussi On Thu, Jan 19, 2012 at 15:23, Ron wrote: > Hi community, > > Let say I have a class called CMyMsg like this: > > ' Gambas class fi

[Gambas-user] How to delete copy of class/object

2012-01-19 Thread Ron
Hi community, Let say I have a class called CMyMsg like this: ' Gambas class file PUBLIC Length AS Integer' packet length PUBLIC Prio AS Integer ' 0 = normal, 1 = system PUBLIC Node AS Integer' node id PUBLIC Key AS String PUBLIC Packet AS NEW Byte[] ' data to send PUBLIC AwaitAck A