Have you
Googled[
^] for a solution?
Here, take a look,
first hit - jagged array example[
^]
Also, a bit more Google-fu -
jagged array routine parameter[
^]
Please, in the future, take a look at the FAQs first (
Q&A FAQ[
^] and also
Pete O'Hanlon's FAQ[
^]), then try to find a solution by yourself -
Google is your friend
For problems with your own code, we're glad to help. Hell, we sometimes actually like it. Doing your work (or even worse, your Google searches for you), not at all