Is it wrong code?

Hi,
Is it wrong code?

Because when the machine crashes
Several objects in Table made?

Hi,

Did you check where it crashes? Perhaps run this code with a debugger would help you find the issue?

Mark