[mercury-users] waiting for an enter

Tom Wouters tom.wouters1 at student.kuleuven.ac.be
Wed May 28 01:58:09 AEST 2003


i was trying to write an interactive application which requires the 
mercury program to wait for an enter on stdin a few times.

i tried

io__read_line(_R1),
...
io__read_line(_R2),
...

but the program only seems to wait for the first read_line, and skips 
the others. Even when i use actual variables, which i later print it 
still only waits for the first line...
anybody any ideas what's wrong?

thx, Tom
-- 
<------------------------------------->
< tom.wouters1 at student.kuleuven.ac.be >
< aqua at ulyssis.org                    >
< pgp-key id: 0xA9A4985D              >
<------------------------------------->


--------------------------------------------------------------------------
mercury-users mailing list
post:  mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the users mailing list