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.

Newcomers DBPro Corner / irregular number of brackets at line 267

Author
Message
BizKit
18
Years of Service
User Offline
Joined: 29th Aug 2006
Location:
Posted: 31st Aug 2006 04:06
I just got this yesterday and i have no idea what im doing so if any body could help with this and maybe point me in the right direction on some good tutorials that would be great
anyway here is the line

point camera object positin x(ene), object position y(ene)+(x/20.0),object position z(ene)

JTA
demons breath
21
Years of Service
User Offline
Joined: 4th Oct 2003
Location: Surrey, UK
Posted: 31st Aug 2006 14:06
put some more information up and maybe we'll be able to help more easily. Well... i say we, the clever people will be able to help, i'll just pretend that i could...

(used to be demonsbreath)
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 31st Aug 2006 15:07
My guess is that this is not the line with the problem. Sometimes, the compiler overshoots the actual line when reporting errors. Try looking at the few lines prior to this one.



Sixty Squares
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 31st Aug 2006 20:47 Edited at: 31st Aug 2006 20:48
Quote: "object positin x(ene),"

That's not a command. That's typo of yours though, correct?

Ginga
18
Years of Service
User Offline
Joined: 3rd Jul 2006
Location: Dorset, England
Posted: 1st Sep 2006 13:35
check a few lines up from that line, and count the open brackets '(' on the line, then count the closed brackets ')' and make sure they r equal.

you may have something like

X = ((I*A)-5 * 2

which should be

X = ((I*A)-5) * 2

Login to post a reply

Server time is: 2024-11-26 11:52:12
Your offset time is: 2024-11-26 11:52:12