guys when posting code snippets use the code tag at the top of the edit box.
or type it manually [ c o d e ] your code here [ / c o d e ]
remove the spaces within the tags for usage.
the error message that is your thread title is pointing to the brackets near the 1 in your code
if inkey$()="w"
b = cos(yang)
a = (1(sin(yang)))
zPos = zPos + b
yPos = yPos + a
endif
it also appears your using a comma to iterate lines of code into one line
I would not reccomend that character if you have changed it in the editor.
not being able to see all of your code as well i have to make assumptions