twdb
Description
Uses the contents of stream to create a dialog box: this is an alternative method to the use of the special macros defstr and addstr.
Example 43. Create a dialog box
Create a dialog box with flags, by including the value of the flags in sequence.
twdb "mydialogbox.rf" 1,4,8
Example 44. Create a dialog box with cumulative flags values
Create a dialog box with flags, by adding the values of the individual flags together:
twdb "mydialogbox.rf" 13
Syntax
twdb stream:t? flags:n? #:L?
stream
|
The stream that contains the text for the dialog box
|
flags
|
Options for display of dialog box:
1
|
Centre dialog box on mouse
|
2
|
Help dialog box format
|
4
|
No title for dialog box
|
8
|
No background or title bar for dialog box
|
16
|
X / Y centre position passed in stream, (top left if flag 8).
|
32
|
Parameters passed in an array
|
64
|
Called from twdb (so no args on stack)
|
|
#
|
Use conditional testing
|