Menu

#486 read prompt string appears "late"

open
nobody
5
2012-12-04
2004-01-10
No

In the Windows version of Xmaxima, the "read" function
misbehaves: the prompt string appears _after_ the user
types a value for read to return.

The program below:

test():=(

print("program to test character output in Windows"),

f:read("enter a string"),

print("f = ",f)
)$

produces the following results:

(C3) test();
program to test character output in Windows
teststring;enter a string
f = teststring
(D3) teststring

Note that the response typed by the user
is "teststring;". But the prompt: "enter a string"
appears after the response has been typed.

This bug affects all packages that prompt the user for
input, such as ENTERMATRIX.

Discussion


Log in to post a comment.