Programming Course for Beginners - ZedLX

The Easiest Online Computer Programming Course, for Free

Named Arguments [6/9]

To print a text without the background rectangle, the named argument eff should be set to /off.

Important:
All the named arguments described in this chapter (fg, bg, x, y, height, eff) are valid only in the println and print statements.

Exercises:

1. Change the first print statement in the program so that the text is displayed without the black background rectangle.
[Run the program]

2. Un-comment the last line of the source code by removing the symbols << . Correct the error.
[Run the program]

Solution

	disc(660, 400, 150, /indigo);

Loading...