Re: boring ole modem stuff

new topic     » goto parent     » topic index » view thread      » older message » newer message

Pete Lomax wrote:
> }}}
<eucode>
> integer k
> 	k = match("\n\r\nRING\r\n\r\n",s)
> 	if k then
> 		RING = 1
> 		s = s[k+11..$]
> 	end if
> </eucode>
{{{

> 
> Regards,
> Pete
> 
> 

COOL, thanks! This is what I mean, I knew there was a 
shorter way to do it, I just couldn't figure it out, 
so I took the long way, which at least I was sure would
work... heh... now if I could just figure out what the 
stream of bytes is all about I'll be happy!

Happy Codin'
Some (Serious) Slacker

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu