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

Author
Message
Cemetery Ridge
17
Years of Service
User Offline
Joined: 23rd Mar 2007
Location:
Posted: 24th Mar 2007 04:16
how do i make this work

if inkey$()="w" then cos(yang)=b,(1\(sin(yang))=a, zPos=zPos+b, yPos=yPos+a
Dabbler
17
Years of Service
User Offline
Joined: 3rd Mar 2007
Location: Minnesota
Posted: 24th Mar 2007 04:35
Does this help:

if inkey$()="w" then cos(yang)=b1/(sin(yang)))=a: zPos=zPos+b: yPos=yPos+a

Whatever...
Dabbler
17
Years of Service
User Offline
Joined: 3rd Mar 2007
Location: Minnesota
Posted: 24th Mar 2007 04:37
Does this help:

if inkey$()=\"w\" then cos(yang)=b: (1/(sin(yang)))=a: zPos=zPos+b: yPos=yPos+a

Whatever...
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 24th Mar 2007 04:44 Edited at: 24th Mar 2007 04:49
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



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

Dabbler
17
Years of Service
User Offline
Joined: 3rd Mar 2007
Location: Minnesota
Posted: 24th Mar 2007 05:01
@indi - Thank you for the [ c o d e ] reminder. But I just learned it the hard way.

Whatever...
RUCCUS
19
Years of Service
User Offline
Joined: 11th Dec 2004
Location: Canada
Posted: 24th Mar 2007 20:06
Theres a hard way to learning how to click the code button?

Dabbler
17
Years of Service
User Offline
Joined: 3rd Mar 2007
Location: Minnesota
Posted: 25th Mar 2007 08:32
There is a hard way to learn anything. Walk a mile in my shoes.

Whatever...

Login to post a reply

Server time is: 2024-11-25 22:50:26
Your offset time is: 2024-11-25 22:50:26