[futurebasic] Re : [FB] pass the parameters, please

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : December 1998 : Group Archive : Group : All Groups

From: jonathan@...
Date: Sun, 27 Dec 1998 12:48:05 +0100
Lucy sed:
>One of those simple questions I don't want to attack by trial & error because
>I've no idea what happens in the case of "error":
>Just how many parameters (standard integer variables) can safely be passed to
>a FN? I recently had to do some with _twelve_, which felt ridiculous, but the
>alternative was making a bunch of single-use globals. Is there an absolute
>ceiling, and what happens when you hit it?

Lucy, there is probably a limit to the number of params
although no-one seems to have stumbled on it yet ;-)

However, passing twelve (!!) seems a bit out. Surely you can
massage the data into a local record and pass that. It makes
for easier and more flexible code. Personally, i am trying to go
for only 2 params maximum, except for toolbox calls which
don't let us decide.

jonathan