Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / errors with too many user defined variables

Author
Message
Duffer
22
Years of Service
User Offline
Joined: 9th Feb 2003
Location: chair
Posted: 9th Feb 2003 18:34
Why oh why do I get the error message "#100013: Command Out of Place at Line 33." when I try debug with the following???

Line 33 is "BackdropOn AS BYTE"???

TYPE Typ_Colour
Red AS BYTE
Green AS BYTE
Blue AS BYTE
MainColour AS INTEGER
HiRed AS BYTE
HiGreen AS BYTE
HiBlue AS BYTE
HiColour AS INTEGER
LoRed AS BYTE
LoGreen AS BYTE
LoBlue AS BYTE
LoColour AS INTEGER
ENDTYPE

TYPE Typ_Screen
GraphicsCard AS STRING
Width AS INTEGER
Height AS INTEGER
Depth AS BYTE
Foreground AS Typ_Colour
Background AS Typ_Colour
BackdropColour AS Typ_Colour
SyncOn AS BYTE
SyncRate AS INTEGER
FastSyncOn AS BYTE
SyncAtEnd AS BYTE
ClearScreen AS BYTE
DrawToFront AS BYTE
SpritesLast AS BYTE
HideMouse AS BYTE
BackdropOn AS BYTE
ENDTYPE
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 9th Feb 2003 19:38
BackdropOn is similar to a DB command, maybe it is getting confused. Try changing the name to BDropOn or something. Failing that, put some of the elements in another type.

NOBODY has a forum name as stupid as Darth Shader. I do.

Login to post a reply

Server time is: 2025-05-19 14:21:57
Your offset time is: 2025-05-19 14:21:57