Executes list of expressions, functions, or events in sequence.
exec(expression1, expression2, ...)
or using a multiline block:
exec( expression1; expression2; expression3; )
Execute multiple print functions sequentially
exec(print("One"), print("Two"), print("Three"));
Output:
One
Two
Three
Multiline Example
exec( print("One"); print("Two"); print("Three"); );
Output:
One
Two
Three