Learn Programming - ZedLX

A Free Computer Programming Tutorial for Beginners

Named Arguments and Whitespace [1/10]

Named Arguments and Whitespace

The named argument fg of println statement can be used to change the foreground color.

Names of named arguments must be followed by a colon symbol (:).

When named arguments are used in a println statement, all arguments of the println statement must be enclosed inside square brackets ([]).

Loading...