dynamic array allocation
#5

lol I'm waiting for the array out of bounds errors...

Changing an array size mid script is a horrible idea unless your entire script is retrofitted to handle it.

For Example.

- loop starts using MAX_VEHICLES as an end point
- Array size changes mid loop
- CRASH!!!!!!!! (or maybe not but it'll feck with ur code)
Reply


Messages In This Thread
dynamic array allocation - by Dj_maryo1993 - 08.05.2013, 20:50
Re: dynamic array allocation - by CJay9209 - 08.05.2013, 20:56
Re: dynamic array allocation - by IceCube! - 08.05.2013, 21:00
Re: dynamic array allocation - by Bakr - 08.05.2013, 21:04
Re: dynamic array allocation - by CJay9209 - 08.05.2013, 21:04

Forum Jump:


Users browsing this thread: 3 Guest(s)