Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I have no idea how to even start!
#3
(12-30-2007, 11:16 AM)Smurfy link Wrote:Make the program work dynamically.

Dynamically, eh? So you need to write two (2) programs, right? The first one guarantees you a 60%. The second one gets extra credit.

For the second program, the "y" at-the-end rule is interesting. You don't know until after the next character. I would take -5 points and just forget about "y".

Anyway, I suggest that you keep a string that contains everything typed so far. If the user inputs CHR$(8) (backspace) then make the string one less and clear screen and print it.

Hint: Start your second program like this:
CLS: LOCATE ,,1

That will put a cursor on the screen. Otherwise, INKEY$ does not display the cursor location like INPUT.

Mac

Hey, my chr$ 8 turned into a goofy icon. How can I turn off that kiddie stuff? I want what I type to be what you see. In fact I would like to get rid of that whole menu of faces, etc.

Never mind. I found it under "Additional Options"
Reply


Messages In This Thread
I have no idea how to even start! - by Smurfy - 12-30-2007, 11:16 AM
Re: I have no idea how to even start! - by Smurfy - 01-01-2008, 12:38 AM
Re: I have no idea how to even start! - by Ralph - 12-31-2007, 12:39 AM
Re: I have no idea how to even start! - by Mac - 12-31-2007, 02:26 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)