PDA

View Full Version : Can someone test this expression for me?


Solve
03-14-2003, 02:42 PM
http://www.highend3d.com/maya/tutorials/bora/

"const_toe"


When I do it it gives me a syntax error. I want to know if I'm doing something wrong or if I'm suppose to get a syntax error.

lostpencil
03-14-2003, 02:56 PM
It looks okay. It depends, are all your objects named the same and... are you doing this in the Expression editor or the script editor?

Solve
03-14-2003, 05:18 PM
i do it in the expression area and everything is the same. Should i just ignore the syntax?

lostpencil
03-14-2003, 05:34 PM
Hey Solve,

I don't think you can ignore a syntax error. Can you post the exact error from the Script Editor window? That may help isolate the problem.

mark_wilkins
03-14-2003, 11:22 PM
As a general rule of thumb, you should never get a syntax error. If you do, something is seriously broken.

The most common causes are:

A script that should use backticks `` to run a command has apostrophes '' in their place by mistake.

You've left out a semicolon.

Someone's word wrapping has broken a string in the middle. Look for lines that have a double-quote " in them that don't have a second double-quote " until the following line.

You've made a typo in a variable name or command.

-- Mark

CGTalk Moderation
01-14-2006, 03:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.