Its mid morning and I have been up all night playing with my first Arduino so please feel free to correct me if I am wrong.
I have searched and searched and cannot find any link to define function in the documentation main page.
To make matters even more confusing, there is a link to 'Return' in the control structures section so I know how to return a value from my function, just no idea how to write the function to return something from

)
OK, I lied, I do know how to write it because I found the page with a google search. But having to google for the answer seems a somewhat long winded way to locate the page, surely it should be included in the main 'index' page for the reference!
I was going to include a link to the page in question but YaBB went into over protective mode and wouldn't let me in a first post so I will stick it in the next one

)