Dear Sirs, Thank you for your answers. Indeed making a vector constant is just a question of style to make the code readable. Dear Mr. Fahlke I will try your variant b) Thanks again Aleksejs Fomins