Script functions reference > Script functions in alphabetical order > M > MsgOpen

MsgOpen
Syntax
MsgOpen(str_block_address, num_traverse_level);
str_block_address
If you specify an empty string (““), the Message traversing will start at the current location.
The following three examples illustrate how you can use wildcards in the block address string.
*
blkA/*
blkA:5
num_traverse_level
Description
Defines where to start traversing the Message.
Returns
travhandl
A handle is returned if the frame was successfully traversed. The handle identifies this specific traversing pass.
 -1
Failed to perform the traversing pass. Possible reasons include no block found, or that the function was called in the wrong context.
Example
$handle=MsgOpen("blkA/blkB", 0);
OpenText StreamServe 5.6 Updated: 2013-03-01