several commands in a line

Discuss any general programming issues here
Post Reply
User avatar
r-tea
Posts: 133
Joined: Tue Feb 16, 2016 11:48 pm
Location: Zdzieszowice, Poland
Contact:

several commands in a line

Post by r-tea »

Can't find an info how to put several commands in a single line.
I know there is a note that "one command per line is usually enough", but situations are unusual sometimes.
peceha
Posts: 111
Joined: Tue Dec 13, 2016 8:39 am
Location: Poland

Re: several commands in a line

Post by peceha »

Code: Select all

a=1 Print(a) WaitKeyDown("any")
User avatar
r-tea
Posts: 133
Joined: Tue Feb 16, 2016 11:48 pm
Location: Zdzieszowice, Poland
Contact:

Re: several commands in a line

Post by r-tea »

Oh, simply a space character :shock:
Thank you.

@ Andreas
It's worth to mention it in documentation.

Edit:
Doesn't matter anymore. I can see it's explicitly mentioned in the very first Language part chapter.
:)
Post Reply