Error Zero Divisor: Difference between revisions
Jump to navigation
Jump to search
m (added link) |
m (removed categorization) |
||
(10 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
This error occurs when the variable you are trying to divide has a value of zero, or 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:''' | '''Example:''' | ||
_myVar = 0 / 15 | |||
_myVar = 15 / 0 | |||
_myVar = [1,2,3] [[select]] 15 | _myVar = [1,2,3] [[select]] 15 | ||
Line 8: | Line 21: | ||
[[ | [[category:Operation Flashpoint: Editing|ERRORZERO]] | ||
[[Category:Common Scripting Errors]] | [[Category:Common Scripting Errors]] |
Revision as of 19:59, 7 January 2007
This error occurs when the variable you are trying to divide has a value of zero, or 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 = 0 / 15
_myVar = 15 / 0
_myVar = [1,2,3] select 15