[futurebasic] Re: [FB] [FB3] passing.... uh.... vars

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : November 1999 : Group Archive : Group : All Groups

From: Chris Stasny <staz@...>
Date: Tue, 30 Nov 1999 16:26:14 -0600
>  >>I'm only getting one BEEP in the below example.
>
><snip>
>
>>Limit the number of parameters passed to a function to 7.
>>
>>Best,
>>
>>-STAZ    ~)~
>
>
>Whew! What a throwaway line!  The message arrived just as I was puzzling
>why a program converted from FBII worked in 68K but not in PPC. It provided
>the solution: two of my FNs had 9 parameters. On investigating, it seems
>that more than 7 parameters is always OK in 68K and sometimes but _not_
>always in PPC. The governing rules are unclear (as well as being
>undocumented).

You can have 8 params in PPC unless you have more than 32K of vars. 
After that, you can only have 7.

Best,

-STAZ    ~)~

http://www.stazsoftware.com  mailto:staz@...
Orders: 800-348-2623         Tech: 228-255-7085
    FAX: 228-255-7086