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

From ApCoCoAWiki
m (fixed links to namespace ApCoCoA)
m (replaced <quotes> tag by real quotes)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 +
{{Version|1}}
 
<command>
 
<command>
 
   <title>Fn.GetAccuracy</title>
 
   <title>Fn.GetAccuracy</title>
Line 12: Line 13:
 
<example>
 
<example>
 
Fn.SetAccuracy(20);
 
Fn.SetAccuracy(20);
PrintLn <quotes>Current accuracy: </quotes>, Fn.GetAccuracy();
+
PrintLn "Current accuracy: ", Fn.GetAccuracy();
  
 
Current accuracy: 20
 
Current accuracy: 20

Latest revision as of 13:31, 29 October 2020

This article is about a function from ApCoCoA-1.

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