FutureBasic Logo

<<    Index    >> FutureBasic

dialog   statement



Syntax
dialog = expr

Description
This statement posts a dialog event of type _userDialog to FutureBasic's internal dialog queue. This allows your program to post "custom events" to itself. After you post a _userDialog event, you can read the event from the queue from within the dialog-event handling function designated by an on dialog statement). If you retrieve the event from the queue as follows:

void local fn DoDialog( ev as long, tag as long )
// ...
end fn

Then ev will be set to the value _userDialog (which equals 23), and tag will be set to the value of expr that you specified in the dialog statement.

See also
on dialog; HandleEvents