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 / Me again...another coding error

Author
Message
Black Mage Masta
18
Years of Service
User Offline
Joined: 31st Jan 2006
Location: Visiting Bender in Robot Hell
Posted: 17th Feb 2006 01:56
I'm doing another program, again for my school project. Can someone help me find out what I'm doing wrong? The errored code is in parentheses.

There's more to the program, but it would take a long time...
Gil Galvanti
19
Years of Service
User Offline
Joined: 22nd Dec 2004
Location: Texas, United States
Posted: 17th Feb 2006 04:11
use the [ code ] brackets, the button doesnt work.

Pirates of Port Royale:
http://www.popr.gwgaming.net (Temporarily Disabled, We Apologize for the Inconvenience)
Live the life.
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 17th Feb 2006 21:37 Edited at: 17th Feb 2006 21:39
Isn't homework suppose to be done by only you? Giving you code for every homework assignment is cheating.


UFO
19
Years of Service
User Offline
Joined: 11th Oct 2005
Location:
Posted: 17th Feb 2006 22:20
Yes, but as long as he is only asking what's wrong with something, JUST AS LONG AS THEY DON'T ASK FOR LARGE AMOUNTS OF CODE. I hate that


Hippopotomonstrosesquippedaliophobia-Fear of long words
Black Mage Masta
18
Years of Service
User Offline
Joined: 31st Jan 2006
Location: Visiting Bender in Robot Hell
Posted: 19th Feb 2006 07:48
I'm not asking for all the code, first of all. Second, it's a six-week long project, and I'm SUPPOSED to have references (your answers to my question are a form of source, as far as I and the teacher are concerned). Third, sorry about the code problem. I'll repost soon, but now I have to sleep (at least, when I first submit this).
Black Mage Masta
18
Years of Service
User Offline
Joined: 31st Jan 2006
Location: Visiting Bender in Robot Hell
Posted: 19th Feb 2006 21:36
Okay, here it is.

Rem This is a d20 Battle simulator.
Print "You are fighting a dragon. What do you do?"
Print "Note: please use lower-case letters to write"
Print "<Attack>"
Print ">Run>>>>"
Input ActionH$
Do
Repeat
If ActionH$ = run (error here)
Print "You Coward!"
End
Else

So what'd I mess up this time?
Black Mage Masta
18
Years of Service
User Offline
Joined: 31st Jan 2006
Location: Visiting Bender in Robot Hell
Posted: 21st Feb 2006 22:18
Someone, PLEASE reply. I only have a few more days to work on this, and then 1-2 days to practice presentations. I could really use your help...

Login to post a reply

Server time is: 2024-11-27 06:48:40
Your offset time is: 2024-11-27 06:48:40