[futurebasic] Re: [FB] Still having problems with NIB code

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : July 2009 : Group Archive : Group : All Groups

From: Robert Purves <listrp@...>
Date: Fri, 3 Jul 2009 19:46:33 +1200
>>> I don't know why the FBToC syntaxilatoratron does not catch it, it  
>>> should here, but ..
>>>
>> err = fn CreateWindowFromNib( nib fn CFSTR("Tools"), @w)
>>> You are perchance missing a '   ,  ' after the nib in the  
>>> parameter list?
>>> I don't blame you for being confused here. Having to debug C to  
>>> use Basic at times, well, that's a rather twisted bit of irony. :)
>
> FB5 should certainly flag an error, allowing you to jump straight to  
> the offending line of FB code.

Fixed for next release:

•• Comma expected; too few items in line 4 of untitled 1
   4:  err = fn CreateWindowFromNib( nib fn CFSTR("Tools"), @w)

Robert P.