{"name":"Error Zero Divisor","title":"Error Zero Divisor","type":"topic","url":"https://community.bistudio.com/wiki/Error_Zero_Divisor","revid":184829,"updated":"2021-01-06T16:26:53Z","aliases":[],"markdown":"#### Description\n\nThis error occurs when you attempt to divide a variable by 0.\nIt also occurs when you attempt to access an element of an array which does not exist.\n\n#### Compatibility\n\nVersion **1.96**\n\n#### Example\n\n```\n_myVar = 15 / 0\n_myVar = [1,2,3] select 15\n```","sections":[{"heading":"Description","level":4,"markdown":"This error occurs when you attempt to divide a variable by 0.\nIt also occurs when you attempt to access an element of an array which does not exist."},{"heading":"Compatibility","level":4,"markdown":"Version **1.96**"},{"heading":"Example","level":4,"markdown":"```\n_myVar = 15 / 0\n_myVar = [1,2,3] select 15\n```"}],"categories":["Common Scripting Errors"],"groups":["Scripting"]}