Sqr

From SCAR Divi Manual
Revision as of 10:53, 29 June 2011 by Freddy (talk | contribs) (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 ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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