your code works 100% when i tested it (except i changed your i++) but with or without i it i had
no errors even after passing addres of vars or ommiting the pointer it still worked fine .

what error are you receiving exactly ?

i am using a8 free and no errors whatsoever...

im guessing you receive a compiler error ?

m


Compulsive compiler