Frontier Gotchas
This doesn’t work.
local { strIn ; \// Wrong!. bytes = 0} try { msg(tcp.statusStream(adrConn^.stream, @bytes)); tcp.readStreamBytes(adrConn^.stream, bytes, 10, @strIn);}
If you have to pass in the address of a string (at least to the tcp verbs), you need to give it a value. It can’t just be a nil name.
local { strIn =""; \// Right! bytes = 0;}No comments