>So, here's my question: is this legal? (as far as FB3 syntax) > >units(unitKilled) = units(gUnitNumber) > >It freezes there. This is an abridged version of what the function actually >does. It also does some things like simple target swapping (targeters of >gUnitNumber now target unitKilled, for example) and animation stuff. >However just to make sure that wasn't a problem, I commented it out and it >still froze. > >Here is how units is DIMmed >DIM units(150) AS SHIP Peter, I believe it is legal. A few questions: Do you have array bounds checking on? (If not, try it.) What is SIZEOF(SHIP)? What are the values of unitKilled and gUnitNumber when it freezes? What do you get if you run a Macsbug HC just before this line? 0"0 =J= a y "