finite

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Armed Assault version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Armed Assault
Version:
1.00

Description

Description:
True, if number is finite (not infinite and a valid number)

Syntax

Syntax:
Boolean = finite x
Parameters:
x: Number
Return Value:
Boolean

Examples

Example 1:
?!finite 10/0 : hint "Infinite"

Additional Information

Multiplayer:
-
See also:
See also needed

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Posted on 27 Sep, 2013
Killzone_Kid
Don't get high hopes with this command thinking what a great way of catching divisions by zero, the command is pretty useless in this respect: //ArmA 2 hint str finite (10/0); //true ... O_o Huh???? hint str (10/0); //0 ... Weird, but that explains it. //ArmA 3 hint str finite (10/0); // Error Zero Divisor hint str finite 10; //true hint str finite 1000000000000000000000000000000000000000; //false

Bottom Section