Chris Doggett
Member since Dec 3, 2010
- Profile: /members/7406-chris-doggett.htm
- URL: http://www.too-many-secrets.com
- Comments: 2
Recent Blog Comments By Chris Doggett
-
Seven Languages In Seven Weeks: Io - Day 2
Posted on Dec 5, 2010 at 11:35 PM
@Ben, Just running it in the shell, if I simply call: File standardInput readLine I get: nil Then it waits for me to enter something. Entering: File standardInput readLine("Enter something: ") however, prompts me with: Enter something: The reference guide on iolanguage.com appea... read more »
-
Seven Languages In Seven Weeks: Io - Day 2
Posted on Dec 3, 2010 at 6:04 PM
These articles on Io have been a great help as I've been going through the book myself. I think I just figured out the problem in HW8 where it outputs 'nil'. That's the prompt. Try this: guess := standardIO readLine("Guess number (1..100): ") asNumber(); Hope this helps.... read more »