July 2004
Intermediate to advanced
752 pages
35h 59m
English
A value supplied automatically for a parameter if no argument value is provided. See parameter.
Also used (somewhat misleadingly) to mean an initial value for an attribute of a newly created object. See initial value.
See also unspecified value.
A default value for an operation or an attribute is specified by placing an equal sign (=) followed by an expression string after the specification for the element. For example:
makeRectangle (center: Point, width: Real, height: Real, angle: Real = 0)
Read now
Unlock full access