Sorry, this the very first post i did on this forum & I did not realize the formatting issue, sorry
thankyou verymuch for your answer:
in the struct TestObjects latitude is wrong as you pointed out THANKS ,
the example where it gives error :
allObjects[index].latitude = Double(-999.0)
is just a dummy value I assigning to indicate the row is invalid to be assigned later
Once again THANKYOU Claud