Writing two instructions in the same line

I think that sometimes could be interesting.
Is it possible to write two instructions in the same line?
For instance:
Instead of:
a=10
msgbox(a)
Writing something similar to:
a=10 ; msgbox(a)

Use the colon as the separator : a=10 : Msgbox(a)