err.message : line type ... data segment state

Discussion specific to NXT-G, NXC, NBC, RobotC, Lejos, and more.
Post Reply
merijn0301
Posts: 8
Joined: 27 Jun 2012, 13:43

err.message : line type ... data segment state

Post by merijn0301 »

Hi,

I have some code but when I compile I get the message :

Line type "code" is not valid while in "data segment" state.

The message, indeed, is promptes in A data segment. However, I don't see anything wrong.

Can anyone help?

Merijn
afanofosc
Site Admin
Posts: 1256
Joined: 26 Sep 2010, 19:36
Location: Nashville, TN
Contact:

Re: err.message : line type ... data segment state

Post by afanofosc »

I can't really tell from what you posted what is going on. Can you post a code block that shows what you are trying to compile? Are you compiling NBC code or are you compiling NXC code?

John Hansen
Multi-platform LEGO MINDSTORMS programming
http://bricxcc.sourceforge.net/
Post Reply

Who is online

Users browsing this forum: Semrush [Bot] and 2 guests