messagebox

The messagebox function enables you to output a text message to the translation logs (tx.log) of the server. This function can serve as a troubleshooting tool. The messagebox function can be used on any field in your map.

Syntax

Use this syntax:



messagebox("message",0)
where:  message = message string
 
messagebox(#fieldname,0);
where: fieldname = name of the field in the map, displays a message with the 
string value
Note: You must include the zero in the syntax (as previously noted) for this function to work properly.

Example

An example of this function follows:



//syntax for a field named TribalFrog
 
MessageBox("This is field TribalFrog",0);
MessageBox (#TribalFrog,0); 
 
//The output text "This is the field TribalFrog" and the contents of the 
//#Tribal Frog field is displayed on the console 
//of the Sterling B2B Integrator server. You 
//can view the console output in the 
//Sterling B2B Integrator server log file.