Programming Course for Beginners - ZedLX

The Easiest Online Computer Programming Course, for Free

Procedures [3/13]

This improvement of function-procedure lineREdge adds a fourth parameter, named cl of type color.

The type of the second parameter, named b, is point2D. When type of a parameter is not given, it assumes the type of the previous parameter (Note: this feature is available only in the ZedLX programming language).

The signature of this function is:

  • void lineREdge(
    • point2D a,
    • point2D b,
    • num width,
    • color cl
    • )

Loading...