Programming Course for Beginners - ZedLX

The Easiest Online Computer Programming Course, for Free

Operations on Vectors [1/13]


Operations on Vectors

The getter function .alti from type vector2D returns string representing the given vector, with aligned coordinate component strings.

The getter function .alti accepts one or two arguments. The first argument specifies the number of characters before the decimal point, and the second argument specifies the number of characters after the decimal point

A corresponding getter function named .alti is also available from type point2D.

The getter function .alti is not really a function at all. It is a procedure, because it modifies the displayed output.

Loading...