[futurebasic] Re: [FB] Variable types? DIM AS ...

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : February 2010 : Group Archive : Group : All Groups

From: Stu Cram <stu@...>
Date: Mon, 22 Feb 2010 18:02:28 -0600
Thanks Robert for the clarification. Your response was much as  
expected. I still miss the possibilities of extended floating point  
arithmetic and, although slower than other types, it would be much  
faster on modern Macs now. <sigh>
-Stu

_____________________________________________________
On 22-Feb-10, at 5:53 PM, Robert Purves wrote:

> These are equivalent ways of declaring a 16-bit signed integer  
> variable:
> dim as SInt16  x
> dim as short   x
> dim as int     x
> dim as integer x
>
>>
> -------------------
>
> Floating point types are single and double. 'real' has no meaning to  
> FB unless you #define it.
>
> -------------------
>
> The file "Key Words" in the Headers folder specifies what the editor  
> should display in keyword style, and "Fixed" is missing from that  
> file. Added for the next release.
>
> -------------------
>
> The (software-based) floating point arithmetic in FBII was  
> idiosyncratic and extremely slow.