Skip to main content

(70) _TALKMSG

Synonyms

  • _TALK_KEYWAIT

Effect

Opens a basic message box.

Sets PlayTextFeedSe to true if text_sound_effect is 1.

Syntax

_TALKMSG(message, text_sound_effect?)
ArgumentDescriptionTypesRequired
messageThe label for the message that gets shown, in format "file%message"StringRequired
text_sound_effectIf PlayTextFeedSe should be trueWork, FloatOptional
_TALKMSG(messageFile, message, text_sound_effect?)
ArgumentDescriptionTypesRequired
messageFileThe file containing the label for the message that gets shownStringRequired
messageThe label for the message that gets shownStringRequired
text_sound_effectIf PlayTextFeedSe should be trueWork, FloatOptional

Example

_LDVAL(@LOCALWORK1, 1)
_TALKMSG('dp_dummy_file%dummy_msg', @LOCALWORK1)

The above script will set the work variable @LOCALWORK1 to 1.

Then, a message box is opened with the text contained in the label dummy_msg of the dp_dummy_file message file.

PlayTextFeedSe is set to true as well because of @LOCALWORK1's value.