How to return a two dimensional array from a function?

You don’t have to read the whole text – the short answer is: just put a comma before the variable the function is returning – otherwise all the values of the two dimensional array will be returned as single values and therefore as an one dimensional array.

If you still like to see an example please stay tuned…

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.

This site uses Akismet to reduce spam. Learn how your comment data is processed.