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 / Why a Syntax error?

Author
Message
Sir Spaghetti Code
22
Years of Service
User Offline
Joined: 12th Jul 2004
Location: Just left of Hell
Posted: 14th Jul 2004 15:34
Hello. I was working with the trial version of Dark Basic and I got a syntax error when coding Yellow's jump tutorial off the website. It hit an error on this code: Does this command not work in the trial, or am I doing something wrong? Thanks for any help!
Lost in Thought
22
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 14th Jul 2004 15:38
Dark Basic Classic or Dark Basic Pro?

Sir Spaghetti Code
22
Years of Service
User Offline
Joined: 12th Jul 2004
Location: Just left of Hell
Posted: 14th Jul 2004 16:45 Edited at: 14th Jul 2004 16:46
The trial version of DB is classic.

EDIT: I'm sorry, I forgot that there is a DBpro trial, I guess, but I have the classic trial. Thanks!
Lost in Thought
22
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 15th Jul 2004 05:36
I'll have to let someone else handle that one then. Sorry I don't have DBC (I bought DBP) and my DBC trial time is all used up . I don't know the syntax for DBC but that should work with DBP.

SandraD
22
Years of Service
User Offline
Joined: 30th May 2004
Location: Down on the corner, out in the street.
Posted: 15th Jul 2004 07:40
Frankly, according to my DBC manual, that commad should work. But then, there are a few places where the manual forgets to mention some things...

Question: Have you tried it without making the variables Reals? (The # part of each.) The angle I'm pretty sure has to be a real, but I'm thinking that maybe the X, y, z should be integers. (Or is that vice-versa?)
S.

Any truly great code should be indisguishable from magic.

Login to post a reply

Server time is: 2026-07-25 18:41:44
Your offset time is: 2026-07-25 18:41:44