Error Zero Divisor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
(page formatting)
 
(18 intermediate revisions by 8 users not shown)
Line 1: Line 1:
'''Error Zero Divisor''' simply means that the you are dividing contains zero or that you try to select a not existing element of an array.
=== Description ===
This error occurs when you attempt to divide a variable by 0.
It also occurs when you attempt to access an element of an array which does not exist.


'''Example:'''
=== Compatibility ===
Version '''1.96'''


[1,2,3] [[select]] 15
=== Example ===
_myVar = 15 / 0
_myVar = [1,2,3] [[select]] 15


 
[[Category:Common Scripting Errors]]
 
 
[[Category:Editing: Flashpoint]]

Latest revision as of 18:26, 6 January 2021

Description

This error occurs when you attempt to divide a variable by 0. It also occurs when you attempt to access an element of an array which does not exist.

Compatibility

Version 1.96

Example

_myVar = 15 / 0
_myVar = [1,2,3] select 15