home *** CD-ROM | disk | FTP | other *** search
- From: karen@hpsgwr.sgp.hp.com (Vacation Student)
- Date: Wed, 20 Jan 1993 02:39:59 GMT
- Subject: Single character inputs (Again...)
- Message-ID: <550002@hpsgwr.sgp.hp.com>
- Organization: HP Singapore Asian Design Ctr
- Path: sparky!uunet!paladin.american.edu!gatech!swrinde!elroy.jpl.nasa.gov!sdd.hp.com!hpscit.sc.hp.com!hplextra!hpcc05!hpsgm2!hpsgwr!karen
- Newsgroups: comp.lang.pascal
- Lines: 54
-
-
- >I'm asking for some solution to this small problem for a friend.
- >I've not used pascal for some 5 years now so I couldn't give him
- >a solution. anyway the question is:
- >During the execution of the program, I want to enter a letter or
- >key which will immediately execute the next program line without
- >having to enter a <Return>
- >It's a bit like the "getch" in curses when using C. In the case of "getch",
- >the program waits for the user for input. The user enters a key and
- >immediately the next action is taken.(without having to enter <Return>)
- >I wonder if there is a way to do this in pascal.
- >all I know is that in pascal, "readln" expects a <Return> to signify
- >termination of an input. Is there anything for character manipulation?
-
- >karen
-
- Hi again folks,
-
- I refer to the above problem I posted some days back. My friend is
- using Digital's Vax Vms Pascal. I had several replies offering
- solutions using Turbo pascal. Thanks guys. Sorry I didn't give the
- above info earlier. If any of you are familiar with the digtal's
- vms pascal, perhaps you could drop me some probable solutions.
-
- Which brings me to my next problem. Nothing on pascal at all actually.
- I'm new here (as you can see from my address above, I'm just a
- "Vacation Student" at HP (vacation indeed...). I'm currently
- at Nanyang Technological University (Singapore) and doing my Industrial
- attachment now). Anyway, I've only been playing around with "notes"
- (or "news" whatever you call it) for a week or so and pretty green
- about it.
-
- I just had a look at notes at my friend's place yesterday(she's
- modeming from home) and discovered that her index page for comp.lang.pascal
- (and other news groups as well) were filled with lots of messages
- while mine (believe it or not) still only contains a single
- message, which was what I posted on 13 Jan("Prob: Single character inputs").
- On my friend's notes, it was indicated that I had 1 response. However
- over here, there's no indication at all and no other new messages.
- Is it because i get limited access to all the messages posted from
- around the world? Or is it because my server here does not allow
- certain things to pass through? Perhaps someone can tell me or refer
- me to a newsgroup from which I can get more information regarding
- these matters.
-
- As far as my above pascal problem is concerned, I've received replies which
- went directly to my mail and thus I have no problem receiving and
- reading them. As such, please mail/reply any further messages to my
- above address, until I can find out why I cannot receive the bulk of
- messages or responses. Thanks again folks.
-
- "Vacation"(!!) Student
- karen
-
-