Jigsaw Prints Only When Finished Executing
When I tell Jigsaw to print something, then compute more, then print again, it waits until it has finished executing the entirety of the code, then prints everything at the same time. This is different than Python, which will print each statement as is runs down the code.
Comments (5)
-
-
reporter I am using the I/O block, but I'm also calling the function using "pass" as I did with issue 7--I'm going to try again using the procedure call block.
-
reporter - changed status to resolved
Okay, so this is, like issue 7, only a problem when calling the procedure with a statement block. If you use a procedure call, it prints as the program executes, normally (though, as with issue 7, it computes slower)
-
- changed status to open
I'm going to leave this open; someone can look at the output of running a program this way to make sure that output is being printed when it should (are we blocking the GUI update?)
-
- changed status to resolved
This should now be fixed. Thanks!
- Log in to comment
Can you provide an example? Are you using the I/O print block, or the Python print function in a statement block?