Error Zero Divisor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "[[category" to "[[Category")
m (Text replacement - "\[\[[Cc]ategory:[ _]?Operation Flashpoint:[ _]?(.*)(\|.*)?\]\]" to "{{GameCategory|ofp|$1}}")
Line 19: Line 19:




[[Category:Operation Flashpoint: Editing|ERRORZERO]]
{{GameCategory|ofp| Editing}}
[[Category:Common Scripting Errors]]
[[Category:Common Scripting Errors]]

Revision as of 23:33, 4 January 2021

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