Raymond, Try assigning "text" to a variable first, as in: text1 = this is message 1 text2 = this is message 2 prefix := "text" MESSAGE := prefix,textnumber ; SENDMSG (MESSAGE) TO SN0001 ; Perhaps another solution is to put parenthesis around your concatenated assignment, as in: MESSAGE := ("text",textnumber); SENDMSG (MESSAGE) TO SN0001 ; Chuck Jones Refinery Automation Technologist Tate & Lyle North America -- Lafayette South Plant 765.477.5324 - Office | 877.536.9219 - Pager Anyone who considers arithmetical methods of producing random digits is, of course, in a state of sin. - John von Neumann (1903-1957) -----Original Message----- From: raymond.roofthooft@xxxxxxxxxxxxxxx [mailto:raymond.roofthooft@xxxxxxxxxxxxxxx] Sent: Wednesday, May 05, 2004 9:22 AM To: foxboro@xxxxxxxxxxxxx Subject: [foxboro] sendmsg Hi list Need to send a message to a display according to a number that i recieve I tried the folowing in sequence text1 = this is message 1 text2 = this is message 2 MESSAGE := text1 ; SENDMSG (MESSAGE) TO SN0001 ; In SN0001 appears this is message 1 so far ok when i change to MESSAGE := "text",textnumber ; then in SN0001 appears literal text1 in stead of this is message 1 any ideas ------------------------------------------------------------------------ BASF Antwerpen N.V. C710 Raymond Roofthooft Tel.: +32-3-561-3057 _______________________________________________________________________ This mailing list is neither sponsored nor endorsed by Invensys Process Systems (formerly The Foxboro Company). Use the info you obtain here at your own risks. Read http://www.thecassandraproject.org/disclaimer.html foxboro mailing list: //www.freelists.org/list/foxboro to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave ***************************************************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient or the person responsible for delivering the email to the intended recipient, be advised that you have received this email in error that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. If you have received this email in error please notify the sender immediately. Please note that we reserve the right to monitor and read any emails sent and received by the Company in accordance with and to the extent permitted by applicable legal rules. ***************************************************************************************************** _______________________________________________________________________ This mailing list is neither sponsored nor endorsed by Invensys Process Systems (formerly The Foxboro Company). Use the info you obtain here at your own risks. Read http://www.thecassandraproject.org/disclaimer.html foxboro mailing list: //www.freelists.org/list/foxboro to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave