Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?
You are not logged in.
Pages: 1
basic commands.
Also planned to make a DETAILED tutorial how to write the connect bot code for everybody edits for new bot makers :):)
Offline
glad you made a tutorial
now for someone to make a javascript tutorial
pls
I can speak by breathing in but it sounds like a dying horse
Signature by HG
Offline
glad you made a tutorial
now for something to make a javascript tutorial
pls
My skills arent professional :d. Java is a bit hard for me. But i keep move and move. When i learn java, ill immediately make a tutorial :]
Offline
Offline
Overall I think it was a good tutorial, but there are quite a few terminology mistakes:
Firstly, you say that Console.ReadKey reads your code. This is not the case, it just pauses the code until you press a key (which it returns).
Secondly, you say that Console.Clear clears your code, and after that a new screen is created. This also is not the case, it clears the text from the existing console, it doesn't make a new one.
I just thought that I would explain further how the 'code' and the 'console' work:
Your code is read line by line, and whenever it gets to something like Console.WriteLine it puts that text at the cursors position in the console, then moves to the next line.
When it gets to an input like Console.ReadKey, it waits until you press a key before it continues running the code.
When it gets to Console.Clear, it fills the console with spaces, then moves the cursor back to the top left corner.
When it reaches the end of your code, the console is closed.
This explains a few things:
You need the Console.ReadKey because otherwise the code is run so fast that the window closes before you can read the output. It's not that it isnt put there when you don't have it, it just disappears too fast to see it.
The reason the colours are acting weird is that the colour is only used for new characters, so in the top example, the console is created with normal colours, then you set the colour, so only the new text is cyan. You then call Console.Clear, which fills the console with coloured spaces (so the 'background' is now cyan), then call Console.ResetColor, so only the new text has the normal colour.
Offline
Pages: 1
[ Started around 1732216315.7397 - Generated in 0.149 seconds, 12 queries executed - Memory usage: 1.45 MiB (Peak: 1.56 MiB) ]