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

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

From: "Al Boyd" <aboyd@...>
Date: Tue, 30 Nov 1999 17:03:57 -0800
> 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).

Robert and All,

To throw a little more into the mix... I was unable to get the parameters to
pass correctly (after Staz's fix) until I put the string vars behind the
interger variables....

FN doSomething(aStr$,bStr$,cStr$,aInt%,bInt%,cInt%,dInt%) < -- Didn't work


FN doSomething(aInt%,bInt%,cInt%,dInt%,aStr$,bStr$,cStr$) < -- Worked

Al

=================================================
McHurricane: Macintosh Storm Tracking Software

http://members.aol.com/stormeye
email: aboyd@...
=================================================