Page 1 of 1

Enumeration not understood by the Linux compiler?

Posted: Mon Dec 22, 2003 11:49 pm
by NelsonN
Hi all,

I just bought PureBasic yesterday and, after understanding something about the Visual Designer, I started putting together the forms for a simple program. I then tried to compile these forms in Linux to see what I would get.

I got this error:


>>Code in Common.pb:

; PureBasic Visual Designer v3.81 build 1323


;- Window Constants
;
Enumeration <<<--- Linux compiler has a problem here?
#Window_0 <<<--- and here?
EndEnumeration


>>pbcompiler error:

******************************************
PureBasic Linux x86 v3.50
******************************************

Loading external modules...
Starting compilation...
Including source code... (Common.pb)

Line 7: Error in the included file 'Common.pb'
Line 6: Syntax Error !


Any help in understanding this problem will be appreciated.

Posted: Tue Dec 23, 2003 12:09 am
by GedB
Nelson,

The Enumeration command was introduced in 3.8, which is promised for Linux soon.

Posted: Tue Dec 23, 2003 5:51 am
by Karbon
And yes, very soon according to the grapevine :-)

Posted: Tue Dec 23, 2003 7:12 am
by LarsG
Karbon wrote:And yes, very soon according to the grapevine :-)
"Yes, I heard it through the grapevine.."
:D