Talk:SmileBASIC (Petit Computer 3)/@comment-15296152-20150714050334/@comment-1595298-20150714053414

Well, I think that example wouldn't work because the OUT variable is purely output, and not passed as a parameter to the function. However, I could see it possibly working to make both IN_A and OUT_A parameters to the function, assuming they're passed by reference (and you can modify them). I doubt that arrays passed to functions would be passed by value, that is, a duplicate copy of the array. On the other hand, if they can't be passed at all, then that's another story.