Hello,
I have a program with the following code fragement:
print, dMessage
flush, -1
res = ""
read, res, prompt = 'Enter : '
When I runs this in the idlde, things look file. However, when I make a sav file and run the program in the command line, the dMessage always writes AFTER the read prompt (not where I want it), even after I added the flush, -1 (which should write everything ito STDOUT, right?) How can I ensure that the dMessage prints before the prompt?
|