[futurebasic] [FB] Re: [FB^3] passing records & filling them via toolbox calls

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

From: "Dr. Steven J. Stratford" <sstratford@...>
Date: Sun, 19 Dec 1999 15:59:51 -0600
<snip>
>>
>>What should I put in the AEGetParamdesc fn in place of @replyDesc 
>>so the descriptor gets passed back to the calling routine?
>>
>>--Steve
>
>
>Incoming parameters are always placed in registers. If you need to 
>use a variable that can't be in a register, you'll have to swap it 
>out in the local fn.
>
>>
>local fn AFunction(replyDescIN&)
>   DIM replyDesc as ptr to AEDesc
>   replyDesc = replyDescIN&


OK I see that. Now if I were using DIM someDesc as AEDesc, I would 
pass the reference to the someDesc record into the toolbox call like 
so with an "@": fn AEGetParamDesc(otherparameters, @someDesc). How do 
I pass an exact equivalent into the toolbox call using replyDesc when 
it's defined "as PTR to AEDesc"?

--Steve

>
>
>
>Best,
>
>-STAZ  ~)~
>
>800.348.2623 Orders  http://www.stazsoftware.com
>228.255.7086 FAX     mailto:staz@...
>
>--
>To unsubscribe, send ANY message to <futurebasic-unsubscribe@...>