[futurebasic] Re: [FB] CFIndexRead using FSRef

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : January 2008 : Group Archive : Group : All Groups

From: Ken Shmidheiser <kshmidheiser@...>
Date: Sat, 26 Jan 2008 22:52:50 -0500
In this thread, Brian wrote:

> To figure it out, look closely at the parameters and the requirements
> of the call. In this case CFURLCreateFromFSRef requires a pointer to
> an FSRef in the second parm.  Next step: how do I pass a pointer to
> CFURLCreateFromFSRef? Well, there is already have a pointer to an
> FSRef in sRef, so that can be used. Next step: how do I tell FB to
> pass a pointer?   In this case case using the "#" tells FB to leave
> it alone and just pass as is since we already have a pointer to an
> FSRef. Without the "#" FB tries to be helpful and pass an address of
> the pointer (which is NOT what we want).


This is the most succinct and easily understood explanation of # use  
in FB I have ever seen.

Keep 'em coming!