Dear Neil,
Thank you very much for the quick answer :-)
best regards Andras
Andras,
Look at Module[]. You define local variables and separate lines with semicolons. The last item is returned as the answer.
Regards
Neil