Avoid "it" - got... the concept!
Klaus wrote:
Hint: Always look in the dictionary (here: find) under "See also" (foundchunk etc...)!
I do try to look at the dictionary, but often I don't know exactly what I'm meant to be looking for - foundchunk makes sense now that I see it, but amidst all the other stuff, not so clear.
Next up! I'm currently working on ways to send information through the socket that isn't just messages. Since I don't know any better way of doing it, I've got a system where the server sends a message that leads with an obscure set of letters and numbers and the client checks whether the incoming message starts with those, and if it does, it does something different with them:
if data contains "x110763User" then
ToOnlineList data
else
This is more or less functional so far, but I have two questions based on it:
1. Is there a better way of doing it that I don't know about?
2. How can I delete x110763User from the data before ToOnlineList? I just don't know the phrasing and the dictionary doesn't offer anything. I would have thought something like:
delete 11 characters of data
But that doesn't work. I just don't know the phrasing yet!