Author Topic: Weird Syntax Error [Solved]  (Read 665 times)

Umm it keeps saying there is a syntax error on line 1 but I am see nothing wrong.

Code: [Select]
datablock fxDTSBrickData(4xCrateBrickData)
{
brickFile = "./4xCrate.blb";
category = "Special";
subCategory = "Crates";
uiName = "4x Crate";
iconName = "";
};
« Last Edit: December 09, 2012, 10:07:33 PM by jes00 »

When it throws an odd syntax error it's usually caused by what's above the actual error.

But, usually in almost every language, a name cannot start with a number. Call it Brick4xCrateData instead.

When it throws an odd syntax error it's usually caused by what's above the actual error.
I know, but there is no line above that.

But, usually in almost every language, a name cannot start with a number. Call it Brick4xCrateData instead.
K. I'll try that.

EDIT: It worked. Thanks!
« Last Edit: December 09, 2012, 10:07:53 PM by jes00 »

When it throws an odd syntax error it's usually caused by what's above the actual error.

But, usually in almost every language, a name cannot start with a number. Call it Brick4xCrateData instead.
Who are you?

I've seen you around and you know a lot about coding

Just so you know, asking "Who are you?" is extremely rude.

Just so you know, asking "Who are you?" is extremely rude.
Not really

Not really
This. There are quite a few alts around here. He may not necessarily be one, elm came from a different torque game, though

This. There are quite a few alts around here. He may not necessarily be one, elm came from a different torque game, though
Which game?