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 / short tutorial code wont compile

Author
Message
Wingover
20
Years of Service
User Offline
Joined: 11th Nov 2003
Location: New Zealand
Posted: 24th Nov 2003 07:32
Hi ..Could someone please tell me where I have gone wrong...I am sure I copied the code exactly from the 3rd gamecreators tutorial Moving the camera. Below is the error report when I try to compile.

parameter mis-match line 6...expected integer real real real

Many thanks
Wayne

"We all know that art is not truth
art is a lie that makes us realize truth"
Pablo Picasso
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 24th Nov 2003 11:46
Its in this line

Position object x,Rnd(2000),0,Rnd,(2000)

look at your line & specifically
Rnd,(2000)
should probably read
Rnd(2000)
Wingover
20
Years of Service
User Offline
Joined: 11th Nov 2003
Location: New Zealand
Posted: 24th Nov 2003 12:36
Many thanks for the assistance. It was indeed that comma...where it shouldnt have been.

Wayne

"We all know that art is not truth
art is a lie that makes us realize truth"
Pablo Picasso

Login to post a reply

Server time is: 2024-09-21 09:19:23
Your offset time is: 2024-09-21 09:19:23