Line breaks

In DinoCode, making a line break does not always mean the end of an instruction.

Logical continuity#

You can divide a long expression into several lines, as long as there is a logical connection between them.

total = price
	* (1 + tax) 
	- (price * discount)
	+ shipping
Note

Logical continuity occurs when the operator is at the end of the line or at the beginning of the next one.

Force continuity#

In this example, the print instruction closes immediately because there is no logical connection with "hello".

print
  "hello"

The comma as a connector#

You can use the comma , as if it were a bridge to connect the line above with the one below:

print,
  "hello" 

print
  , "Hello "
  , "Ismael"