Difference between revisions of "ApCoCoA-1:Fn.GetAccuracy"

From ApCoCoAWiki
(New page: <command> <title>Fn.GetAccuracy</title> <short_description>Get the currently used accuracy.</short_description> <syntax> Fn.GetAccuracy():INT </syntax> <description> <itemize> <item>...)
 
Line 6: Line 6:
 
</syntax>
 
</syntax>
 
<description>
 
<description>
 
+
By default, the accuracy is set to 10.
  
 
<itemize>
 
<itemize>
 
<item>@return Returns the currently used accuracy.</item></itemize>
 
<item>@return Returns the currently used accuracy.</item></itemize>
 
<example>
 
<example>
Fn.SetAccuracy(10);
+
Fn.SetAccuracy(20);
 
PrintLn "Current accuracy: ", Fn.GetAccuracy();
 
PrintLn "Current accuracy: ", Fn.GetAccuracy();
  
Current accuracy: 10
+
Current accuracy: 20
  
 
-------------------------------
 
-------------------------------

Revision as of 08:52, 4 May 2011

Fn.GetAccuracy

Get the currently used accuracy.

Syntax

Fn.GetAccuracy():INT

Description

By default, the accuracy is set to 10.

  • @return Returns the currently used accuracy.

Example

Fn.SetAccuracy(20);
PrintLn "Current accuracy: ", Fn.GetAccuracy();

Current accuracy: 20

-------------------------------

Fn.SetAccuracy