Arbortext Command Language > Functions by Alphabetical Listing > amo_text
  
amo_text
msg_string=amo_text (msg_file_id, msg_id)
This function retrieves the localized message msg_id within the message file specified by the msg_file_id parameter. The msg_file_id parameter is the message file ID for a message file previously opened with amo_open. The msg_id parameter is the message ID for a message within the open message file.
* 
Use agettext to retrieve a message from the default message file.
If the function executes correctly, it returns the string for the desired message ID. If the function fails, it returns the value of the msg_id parameter.
Example
msg_string = amo_text(msg_file_id, \
'Context checking is disabled')
Related Topics
agettext built-in function