<div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Hi<br><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">I'm trying to write a user defined function which calculates 6 arrays, say, co, o3,no2, so2, pm25, pm10. I want to call this function inside a loop which supplies different station-names each time - so that the function computes these variables for each station. But is it possible to return 6 variables through one function?<br><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">How would the format be where this function is called, and also in the return statement?<br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">I would really appreciate an example for this.<br><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Thanks<br><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Tabish<br> <br clear="all"></div><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div><font size="1"><span style="font-family:tahoma,sans-serif">Tabish U Ansari<br></span></font></div><font size="1"><span style="font-family:tahoma,sans-serif">PhD student, Lancaster Environment Center<br></span></font></div><font size="1"><span style="font-family:tahoma,sans-serif">Lancaster Univeristy<br> <span>Bailrigg</span>, <span>Lancaster</span>, <br><span>LA1 4YW</span>, <span>United Kingdom</span></span></font><br></div></div></div>
</div>