Clonk Developer Mode Documentation
Introduction
Contents
Search
Engine
Command Line
Game Data
Script
Pow (deprecated)
Category:
Arithmetics
Since engine version:
4.9.1.0 GWE
Description
Calculates iVal1 to the power of iVal2.
Syntax
int
Pow (
int
iVal1,
int
iVal2);
Parameters
iVal1:
Basis
iVal2:
Exponent
Remark
Instead of Pow() you should use the
operator
"**":
iVal1 ** iVal2
See also:
Div
,
Mul
PeterW, Januar 2002
Clonk Developer Mode Documentation
Introduction
Contents
Search
Engine
Command Line
Game Data
Script