This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2010-05-09 20:52:35

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Asynchronous DialogBoxMorph call

This question addresses only, and I mean only, people who are actual Squeak programmers and are quite familiar with the Scratch source code (Jens, the Scratch Team, and a few others)

The problem: calls to DialogBoxMorph's getUserResponse are synchronous, meaning that scripts which call it freeze the evaluator until the dialog is closed.
The solution: I am going to make a special-form block which calls the dialog.

Is there a simple way to do this?

PS please don't comment asking what asynchronous calls are.

Last edited by nXIII (2010-05-09 20:54:32)


nXIII

Offline

 

Board footer