Re: [foxboro] sendmsg

  • From: "Johnson, Alex (Foxboro)" <ajohnson@xxxxxxxxxxx>
  • To: foxboro@xxxxxxxxxxxxx
  • Date: Wed, 5 May 2004 12:32:24 -0400

Try

MESSAGE:="This is message ", textnumber;

Or

TEXT="This is message ";
MESSAGE:=TEXT,textnumber;


I don't have a system handy to test this, but I think the first one will
work.

The result you got is what I would expect from the code you wrote. "text" is
a literal string and text1 or text2 would be appropriate results.

Regards,
 
Alex Johnson
Invensys Systems, Inc.
10707 Haddington
Houston, TX 77043
713.722.2859 (voice)
713.722.2700 (operator)
713.932.0222 (fax)
ajohnson@xxxxxxxxxxx
For the latest information on ArchestrA, go to
http://www.invensys.com/Archestra.html.
 

-----Original Message-----
From: foxboro-bounce@xxxxxxxxxxxxx [mailto:foxboro-bounce@xxxxxxxxxxxxx] On
Behalf Of raymond.roofthooft@xxxxxxxxxxxxxxx
Sent: Wednesday, May 05, 2004 10: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 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
 

Other related posts: