[futurebasic] DIM AS HANDLE

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : December 2000 : Group Archive : Group : All Groups

From: Hans van Maanen <hans@...>
Date: Sat, 10 Dec 2005 08:56:36 +0100
Hi --

Is this a bug?


If I DIM a handle like so:

DIM picH AS HANDLE

it's ok, but if I do, as I should be allowed in FB3 release 3

DIM AS HANDLE picH

the compiler complains:

Error: A Variable was expected here???
in file Temp Project at line 31 in TEKEN
*dim as handle picH*

Other variables can be DIM'ed in Release 3 with the type before the name:

DIM AS LONG a
DIM AS STR32 tmp

Anybody know?


By the way, I can DIM a variable as type INTEGER instead of WORD or 
SHORT or INT. Is this an undocumented feature?


Cheers,

Hans van Maanen