Results 1 to 4 of 4

Thread: how to get input from user?

  1. #1
    Join Date
    Dec 2006
    Posts
    29
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    how to get input from user?

    For my first little project I'm working on some skill calculators. I know Writeln() displays output, but how do I allow someone to input a number? and, with that, is there a way to check that it is a float or int? (i know some java, but this is my first crack at SCAR/pascal.)

    I'm just dipping my toes into the proverbial bathwater I know, but if anyone can help me it would be greatly appreciated.

    Cheers!
    Useful Threads:

    How To Add SMART to Any Script: http://www.srl-forums.com/forum/very...ay-t31136.html

    I Leech But I Post Proggies. Leech Responsibly.

  2. #2
    Join Date
    Jan 2007
    Location
    Illinois.. >.<
    Posts
    1,158
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Readln()

  3. #3
    Join Date
    Dec 2006
    Posts
    29
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    thank you
    Useful Threads:

    How To Add SMART to Any Script: http://www.srl-forums.com/forum/very...ay-t31136.html

    I Leech But I Post Proggies. Leech Responsibly.

  4. #4
    Join Date
    Jan 2007
    Location
    Illinois.. >.<
    Posts
    1,158
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    No problem.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Need help with user input
    By Aser in forum OSR Help
    Replies: 5
    Last Post: 10-14-2008, 08:37 PM
  2. Detecting Key Input [vb 2005]
    By ~alex~ in forum C#/Visual Basic Help and Tutorials
    Replies: 4
    Last Post: 06-27-2007, 01:51 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •