Ok so, when using local variables, how to clean them up correctly?
plz select the right answer A, B, C or D and explain why you use something, why you don't choose something and why you choose that order. thx!
ANSWER A:
ANSWER B:
ANSWER C:
ANSWER D:
plz select the right answer A, B, C or D and explain why you use something, why you don't choose something and why you choose that order. thx!
ANSWER A:
local location P
...
call RemoveLocation( P )
ANSWER B:
local location P
...
set P = null
ANSWER C:
local location P
...
call RemoveLocation( P )
set P = null
ANSWER D:
local location P
...
set P = null
call RemoveLocation( P )