Spacing is white space characters between lines and characters in a program. Spacing is an important tool in structuring the program text and making it readable.

Spacing can occur between functions, structures and lines and inside expressions.

Default spacing

Certain spacing is insterted by default. After a line in a function, a newline is insterted. At the beginning of a line, the amount of tabbing is insterted according to the nesting level of the current block of lines.

This means that only additional spacing is read in. As horizontal spacing is not visible between lines of a program, only newlines are read in.

In summary, if there is more than one newline between two lines, then the newlines are stored, otherwise the default is implied and therefore not stored.

Contact Information

We would be more than happy to help you. Our opening hours are 9–15 (CET).

[email protected]

📞 (+47) 93 68 22 77

Nils Bays vei 50, 0876 Oslo, Norway

Copyright © 2018-24 by Inductive AS.