[futurebasic] Re: [FB] FBToC errors

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

From: Robert Purves <listrp@...>
Date: Wed, 17 Sep 2008 09:40:37 +1200
Edwards, Waverly wrote:

> Oh, there is one error I remember pretty well.  The error read  
> something like 'the function didn't
> ignore a variable it ought to'.  It took me about 10-15 minutes to  
> figure out what the heck that meant.
> It turns out this is legal in FB but causes an error in the compiled  
> code.
> err = fn CGImageRelease ( outImage )  // not really valid but it works
> That function does not return a value

Precisely this example is in the FAQ (in FBtoC Help).

Robert P.