Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
|
Quote:
|
Is there a limit to the number of variables that can be passed to a function?
|
Probably, but you could avoid it if ever by passing 1 argument that would be an array or an object.
I often use an object as a return, when I need more than one info given back.
Like a status (true/false) with a explanation (for a login, for example).
Simple to extend to your taste
__________________
Only a biker knows why a dog sticks his head out the window.
|