ABS/de

(Difference between revisions)
Jump to: navigation, search
((**COPIED FROM ENGLISH PAGE**) =)
(Remarks)
Line 15: Line 15:
 
<span style="font-family: Arial;">&nbsp;</span>
 
<span style="font-family: Arial;">&nbsp;</span>
  
= <span class="f_Header">Remarks</span> =
+
= <span class="f_Header">Anmerkungen</span> =
 
<div style="padding: 0px; margin: 0px 0px 0px 4px;">
 
<div style="padding: 0px; margin: 0px 0px 0px 4px;">
 
{| width="604" cellspacing="0" cellpadding="1" border="1" style="border: 2px solid rgb(0, 0, 0); border-spacing: 0px; border-collapse: collapse;"
 
{| width="604" cellspacing="0" cellpadding="1" border="1" style="border: 2px solid rgb(0, 0, 0); border-spacing: 0px; border-collapse: collapse;"
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
 
| valign="top" width="14%" style="width: 81px; border: 1px solid rgb(0, 0, 0);" |  
 
| valign="top" width="14%" style="width: 81px; border: 1px solid rgb(0, 0, 0);" |  
Var
+
var
  
 
| valign="top" width="100%" style="width: 514px; border: 1px solid rgb(0, 0, 0);" |  
 
| valign="top" width="100%" style="width: 514px; border: 1px solid rgb(0, 0, 0);" |  
Variable that is assigned with the absolute value of var2.
+
Variable der der Absolutwert von var2 zugewiesen wird.
  
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
 
| valign="top" width="14%" style="width: 81px; border: 1px solid rgb(0, 0, 0);" |  
 
| valign="top" width="14%" style="width: 81px; border: 1px solid rgb(0, 0, 0);" |  
Var2
+
var2
  
 
| valign="top" width="100%" style="width: 514px; border: 1px solid rgb(0, 0, 0);" |  
 
| valign="top" width="100%" style="width: 514px; border: 1px solid rgb(0, 0, 0);" |  
The source variable to retrieve the absolute value from.
+
Quellvariable von der der Absolutwert gebildet werden soll.
  
 
|}
 
|}
Line 38: Line 38:
 
<span style="font-family: Arial;">&nbsp;</span>
 
<span style="font-family: Arial;">&nbsp;</span>
  
var : Integer , Long, Single or Double.
+
var : Integer , Long, Single oder Double.
  
var2 : Integer, Long, Single or Double.
+
var2 : Integer, Long, Single oder Double.
  
 
<span style="font-family: Arial;">&nbsp;</span>
 
<span style="font-family: Arial;">&nbsp;</span>
Line 46: Line 46:
 
<span style="font-family: Arial;">&nbsp;</span>
 
<span style="font-family: Arial;">&nbsp;</span>
  
[[File:Notice.jpg|left]]&nbsp;The absolute value of a number is always positive.
+
[[File:Notice.jpg|left]]&nbsp;Der Absolutwert einer Zahl ist immer positiv.
  
 
<span style="font-family: Arial;">&nbsp;</span>
 
<span style="font-family: Arial;">&nbsp;</span>

Revision as of 21:51, 3 March 2013

Contents

Funktion

Gibt den Absolutwert einer vorzeichenbehafteten numerischen Variablen zurück.

 

 

Syntax

var = ABS(var2)

 

 

Anmerkungen

var

Variable der der Absolutwert von var2 zugewiesen wird.

var2

Quellvariable von der der Absolutwert gebildet werden soll.

 

 

var : Integer , Long, Single oder Double.

var2 : Integer, Long, Single oder Double.

 

 

Notice.jpg
 Der Absolutwert einer Zahl ist immer positiv.

 

 

See also

NONE

 

 

ASM

Calls: _abs16 for an Integer and _abs32 for a Long

Input: R16-R17 for an Integer and R16-R19 for a Long

Output:R16-R17 for an Integer and R16-R19 for a Long

 

Calls _Fltabsmem for a single from the fp_trig library.

 

 

Example

Dim a as Integer, c as Integer

a =-1000

c = Abs(a)

Print c

End

Languages   English Deutsch  
Personal tools
Namespaces
Variants
Actions
Navigation
In other languages
Language