I know I been a Blitz user for like eons and it's always the basic stuff that frustrates me. Actually I took a break after I couldnt get BMax to compile in Vista, but i'm back developing on my XP machine and thought i'd give it another go.
Anyways, this is really daft and i've read samples and searched and meh, I just can't figure out the really simple easy stuff. Gimme quantum physics anyday!
I'm trying to reference an objects data from within a method of itself, and dont know what the Blitz equivellent of the 'this.' operator is?
Like I says, it's the simple stuff that always baffled me... /sigh
Thanks for any help guys.
Anyways, this is really daft and i've read samples and searched and meh, I just can't figure out the really simple easy stuff. Gimme quantum physics anyday!
I'm trying to reference an objects data from within a method of itself, and dont know what the Blitz equivellent of the 'this.' operator is?
Type server Field ip,port,pass$ Field timeOut,nextPacketSize Field socket:TSocket Field connect Field stream:TStream Function connection() this.timeOut=this.timeOut-delta If this.timeOut<0 this.nextPacketSize=0 this.timeOut=60000 If this.socket Then CloseSocket this.socket If this.stream Then CloseStream this.stream this.socket=CreateTCPSocket() this.stream=CreateSocketStream(this.socket) this.connect=ConnectSocket(this.socket,this.ip,this.port) If this.connect Then insim_ISI(this) EndIf End Function End Type
Like I says, it's the simple stuff that always baffled me... /sigh
Thanks for any help guys.