Thanks for that Robert I didn't know you could use var to return more than one value.
Distinction: VAR does not allow you to return more than one value. Rather, var allows you to return no values at all, but be able to directly manipulate the variables passed.This is known as passing by reference (as opposed to passing by value, which protects the original data from corruption).