Jump to content
  • Advertisement
Sign in to follow this  

The display command in SCHEME. :(

This topic is 4441 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi everyone, I've been having a war with Scheme and its display command. I've never really used it before and have been playing around with it a bit. But basically I'm using this display thing for something else and I just need a hint to put me in the right direction. Basically, I type in some words like "Hello sdjfk bye" And the program has a built in feature to individually analyse each word and say whether or not it recognises it in its dictionary it has on-board. So.. the program recognises "Hello" and it recognises "bye" but does not recognise the 2nd word which is "sdjfk". So, I have created a display programming thingie: Where I have said to enter nothing and hit enter if you want to accept teh word as it is. OR, type something else instead. When I type in something, it returns the word I have typed in and replaces the word... YAY. When I type in nothing and hit enter, I want it to return the word I am currently working on (because I have accepted the word). I thought I could just say to the display command to return the first of the word.. but it doesn't recognise that because it is a different command. Please help :(

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!