User Tools

Site Tools


ofp:missions:errorzerodivisor

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

ofp:missions:errorzerodivisor [2007-07-12 04:42]
ofp:missions:errorzerodivisor [2007-07-12 04:42] (current)
Line 1: Line 1:
 +====== Error Zero Divisor ======
  
 +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.
 +
 +Example:
 +
 +<​code>​
 +_myVar = 0 / 15 
 +_myVar = 15 / 0 
 +_myVar = [1,2,3] select 15
 +</​code>​
ofp/missions/errorzerodivisor.txt ยท Last modified: 2007-07-12 04:42 (external edit)