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 / Help with The GuessingGame

Author
Message
Space Ghost
19
Years of Service
User Offline
Joined: 26th Jul 2005
Location:
Posted: 26th Jul 2005 22:46
hi everybody
Can someone help me with this problem that i got , i made it from "Beginner's Guide to DarkBASIC Game Programming " ( by : Jonathan S. Harbour and Joshua R. Smith ) has a tutorial , BUT i get error like "Could Not determine parameter type `0 FOR` at line 192 . "
And is there any webpage where i can find comming problem fix to it.. i really like this book , its simple and easy to read
Leeorg
19
Years of Service
User Offline
Joined: 5th Jul 2005
Location:
Posted: 27th Jul 2005 01:32
have you followed the tutorial exactly? can you post the code - this would really help! Its hard to work out whats wrong with a code if its not listed.
Space Ghost
19
Years of Service
User Offline
Joined: 26th Jul 2005
Location:
Posted: 27th Jul 2005 11:37
yup.. i did that , i even copy the text . Got the same error .. =(
anywho heres the code..
garyt
19
Years of Service
User Offline
Joined: 4th Jul 2005
Location:
Posted: 28th Jul 2005 01:54
"sorry code isn't available"

small g
NanoBrain
19
Years of Service
User Offline
Joined: 20th Jan 2005
Location: Portland, OR
Posted: 28th Jul 2005 21:37
Space Ghost,

Place your code in a code snippet, by typing your code in the forum text message box, hilighting it, and the pressing the Text button named, code.


+NanoBrain+
Space Ghost
19
Years of Service
User Offline
Joined: 26th Jul 2005
Location:
Posted: 29th Jul 2005 03:26
sry.. the delay .. =/
anywhy heres the code :
master programmer
19
Years of Service
User Offline
Joined: 30th May 2005
Location: 3D Space
Posted: 29th Jul 2005 04:20
There was an error at line 14 because the rem satement was the wrong symbol, it was ', and it should've been ` or rem.

The same thing for line 36, line 82, 83, 95, 118, 160, 161, and 182.

On line 192, I have not idea what's wrong, it just keeps popping up a message about an unkown command, just like you said.


------------
Vote for Excelsis on the Puzzle Game Compo

__________________________________________
<<<<<Check out my sites>>>>>
www.rhettgames.tk | www.slayerbattletanks.tk
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 29th Jul 2005 04:36
It's because of these two lines:



The "FOR" needs to be moved down to the next line:



It works fine after fixing those lines & the rem statements that Master Programmer talked about.
Space Ghost
19
Years of Service
User Offline
Joined: 26th Jul 2005
Location:
Posted: 29th Jul 2005 09:35
okey , thx for help =D
Fox Dark Master
20
Years of Service
User Offline
Joined: 20th Jul 2004
Location: Portugal
Posted: 29th Jul 2005 17:53 Edited at: 29th Jul 2005 17:53

You don't need to use the $ cause your're declaring an array


True Phantasy
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 30th Jul 2005 07:43 Edited at: 30th Jul 2005 07:43
Quote: "You don't need to use the $ cause your're declaring an array"


Eh? Isn't it a string of text he wants to save in that array? It's for the high score list.

Unmodified code:

James Morgan
19
Years of Service
User Offline
Joined: 17th Apr 2005
Location: Behind you
Posted: 31st Jul 2005 15:26
You either need to declare it with a $ or with as string



The way its currently done is fine though.

J

Hello!
Space Ghost
19
Years of Service
User Offline
Joined: 26th Jul 2005
Location:
Posted: 6th Aug 2005 07:16
Got it to work , thx alot for help, boys and girls =)

Login to post a reply

Server time is: 2024-09-24 01:32:17
Your offset time is: 2024-09-24 01:32:17