next up previous contents index
Next: Sqrt Up: Functions and Procedures Previous: Sptr

Sqr

   

Declaration:

Function Sqr (X : Real) : Real;

Description:

Sqr returns the square of its argument X.

Errors:

None.

See also:

Sqrt, Ln, Exp

Example
Program Example65;

{ Program to demonstrate the Sqr function. }
Var i : Integer;
    
begin
  For i:=1 to 10 do
    writeln (Sqr(i):3);
end.



Michael Van Canneyt
Thu Sep 10 14:02:43 CEST 1998