Error Zero Divisor: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 22: | Line 22: | ||
[[category:Operation Flashpoint: Editing]] | [[category:Operation Flashpoint: Editing]] | ||
[[Category:Troubleshooting]] | [[Category:Operation Flashpoint: Troubleshooting]] | ||
[[Category:Common Scripting Errors]] | [[Category:Common Scripting Errors]] |
Revision as of 16:01, 4 July 2006
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