[futurebasic] Re: [FB] More than 8 fn parameters

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : February 2004 : Group Archive : Group : All Groups

From: Brian Stevens <brilor@...>
Date: Thu, 19 Feb 2004 16:06:42 -0700
On Feb 19, 2004, at 2:08 PM, Paul Bruneau wrote:

> Hi-
>
> I know there is something bad about having more than 8 parameters in a 
> function, but I didn't think it was too too bad.
>
> But when I added a couple parameters to one of my functions which made 
> it have 10, all kinds of weirdness occurred that seemed to trash 
> memory or something. Mostly the app would just quit without any error 
> or warning. The compiler didn't seem to mind, though.
>
> Can someone tell me where to look in the docs to see what badness I 
> did?
>
> Thanks,
>
> Paul
>

Paul,

I remember PPC has a limit of 8 parms unless you have more than 32k of 
parms in which case you are limited to 7 parms. I don't know if this is 
documented anywhere. Then again my (alleged) memory could be wrong. 
Hopefully, others will chime in.

Brian