Hi. I have a very simple question to ask that just popped in my head: What do semicolons do in scripting? There's not much else to add after that, I guess.

4 comments

1

They don't do nothing, it's just so ppl that script in languages like c++ don't have to remove every semicolon they type because that's a habit they have.

0

Ok thanks.

1

Also, just be sure you don' t put them in the mid of a line, because they interrupt the line, but placing them in the end is ok.

1

Semicolons act as line splitters, they can be used to write multiple functions in parallel, however are mostly used as methods of organizing dictionaries. Semicolons have similar behaviour to ,