Difference between revisions of "Sqr"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> function Sqr(X: Extended): Extended; </source> ==Availability== SCAR Divi 3.00 > Current ==Description== Returns the value of ...")
(No difference)

Revision as of 10:53, 29 June 2011

Definition

function Sqr(X: Extended): Extended;

Availability

SCAR Divi 3.00 > Current

Description

Returns the value of X squared.

Example

begin
  WriteLn(Sqr(2));
  WriteLn(Sqr(4));
end.

Output:

4
16

See Also