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 / !!!My first program!!!

Author
Message
Resident Evil 4 fanboy
19
Years of Service
User Offline
Joined: 2nd Feb 2005
Location: Where evil doers are!Oh wait, my room!
Posted: 5th May 2005 11:05
I have finnally made a program code! But I have one problem, when I tried to run it it said "could not close nest at line 7". Can someone help me with this please? I know this isn't a big deal, but it is to me.
vid1987
19
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Oklahoma
Posted: 5th May 2005 11:14 Edited at: 5th May 2005 11:14
You didn't put a loop on it...

Try this...



Peace

DC the Great Inventor
vid1987
19
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Oklahoma
Posted: 5th May 2005 11:19 Edited at: 5th May 2005 11:20
Oh and you wrote "cube" twice

I'm surprised I didn't catch that the first time...



Now it will work for sure...

Peace

DC the Great Inventor
RiiDii
19
Years of Service
User Offline
Joined: 20th Jan 2005
Location: Inatincan
Posted: 5th May 2005 11:19
Good start. A few more lines are needed though.



It will work now, but it will go very fast. You can position the object further away from the camera, move it less, or take a look at sync and set it to Sync rate 60 (or so).

Every group (if/endif, do/loop, for/next, etc.) needs to be opened and closed. Groups can be embedded in other groups, but they cannot cross groups - like this:



"Droids don't rip your arms off when they lose." -H. Solo
REALITY II
Squids Revenge
20
Years of Service
User Offline
Joined: 19th Jul 2004
Location: Washington
Posted: 5th May 2005 11:28 Edited at: 5th May 2005 11:29
Removed Post.

Your signature has been erased by a mod because it's larger than 600x120...
vid1987
19
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Oklahoma
Posted: 5th May 2005 11:35
Thx RiDii

spidyfan you might need to do what I did..

Either read your programming manual (if you have one)
Or (if you have DBP) in the compiler there is a "help" button at the top of the screen... go to command help and click on what you want to learn about. (try to learn one thing at a time or it will all get confusing)
Once you've done this for about a month or two (if you're anything like me) you will start catching on...
Peace

DC the Great Inventor
Resident Evil 4 fanboy
19
Years of Service
User Offline
Joined: 2nd Feb 2005
Location: Where evil doers are!Oh wait, my room!
Posted: 5th May 2005 22:45
I tried the command but I cant move the object
Resident Evil 4 fanboy
19
Years of Service
User Offline
Joined: 2nd Feb 2005
Location: Where evil doers are!Oh wait, my room!
Posted: 5th May 2005 22:48
never mind i sovled it. Thanks everyone[img]

Login to post a reply

Server time is: 2024-09-23 19:36:18
Your offset time is: 2024-09-23 19:36:18