From bug-octave-request at che dot utexas dot edu Tue Nov 1 13:22:04 1994 Subject: Re: Octave I/O From: John Eaton To: "John C. Campbell" cc: Steve Swinnea , bug-octave Date: Tue, 01 Nov 94 13:21:55 CST For now, you have to write it like this: function a=foo() printf("Enter a winning number: "); fflush (stdout); a = scanf( "%f" ); endfunction but it would probably be reasonable to `tie' stdin and stdout so that stdout is automatically flushed any time a read operation is performed on stdin. I'll see if I can do this for 1.1. Thanks, jwe