[futurebasic] Re: [FB] Clang illegal encoding

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : October 2014 : Group Archive : Group : All Groups

From: Steve Crossman <mactech@...>
Date: Sun, 05 Oct 2014 12:21:32 -0400
Is it harmless to leave it as it is ?

My previous FB version was old, which might be why I didn’t see them and I stayed with the same version of clang for any production version I created for the last 18months or more.

On Oct 5, 2014, at 12:01 PM, Brian S <fblistserve@...> wrote:

> 
> Steve Crossman wrote:
> 
>> I don’t recall seeing this error in the prior FB that I was using.
> This is totally clang complaining about high ASCII characters. IIRC it started with clang 5.1 
> 
>> Can I turn these off somehow? 
> This same problem existed in FBtoC and FB editor source but I squelched clang’s warnings by either coding the character as a constant or using chr$() to put it in a pascal string. Here is an example:
> 
> First, identify the ascii code for the symbol:
> 1. print asc("…")  // should show 201
> 
> Second use either a constant or string:
> 
> _myelipsis = 201
> 
> or 
> 
> dim as Str15  string
> 
> string = "Open" + chr$(201)
> 
> finally
> menu _mtoolbar7,10,1, string
> 
> 
> 
> Brian
> 
> 
> 
>