Hi,
No, it isn't.
It sends:
ATZ13
What i need, is a carridge return after the Z.
Regards,
Matthias
--
SAILING A NEW COURSE IN AUTOMATED SYSTEMS AND SOFTWARE DEVELOPMENT
09.+10. Oktober 2002, Telelogic User Conference, Munich, get more
information at:
www.telelogic.com/news/usergroup/de2002/index.cfm
Dr. Matthias Jung
Application Development
Telelogic Deutschland GmbH, Otto-Brenner-Str. 247 , 33604 Bielefeld, Germany
Phone: +49(521)14503-33
Fax: +49(521)14503-50
Mail:
This email address is being protected from spambots. You need JavaScript enabled to view it.
Telelogic - Putting you ahead in development!
Ursprüngliche Nachricht
Von: Gyorgy Rethy (ETH) [
This email address is being protected from spambots. You need JavaScript enabled to view it.]
Gesendet: Donnerstag, 19. September 2002 12:55
An:
This email address is being protected from spambots. You need JavaScript enabled to view it.
Betreff: Re: Strings with Control Characters in them
Hi,
an easier way is:
template Modem_Signal Init_Val :=
{
data := "ATZ" & int2str(13)
}
OR
const charstring CR := int2str(13);
template Modem_Signal Init_Val := {
data := "ATZ" & CR
}
Best Regards, György
> dr György RÉTHY
> Manager
> Test Services, Test House, Ericsson Hungary
> Address: H-1037 Budapest, Laborc street 1.
> Phone: + 36 (1) 437-7006
> Mobile: + 36 (30) 297-7862
> Fax: + 36 (1) 437-7767
> Mail-to:
This email address is being protected from spambots. You need JavaScript enabled to view it.
>
Original Message
>From: Active_TTCN3 : MTS STF133 TTCN Version 3 - Active Members Only
>[
This email address is being protected from spambots. You need JavaScript enabled to view it.]On Behalf Of Matthias Jung
>Sent: Thursday, September 19, 2002 11:41 AM
>To:
This email address is being protected from spambots. You need JavaScript enabled to view it.
>Subject: Strings with Control Characters in them
>
>
>Hi,
>
>Is there an easier way to define strings with control
>characters in them,
>than to write:
>
> function GetCR() return charstring
> {
> var charstring cr := " ";
> crlf[0] := int2char(13);
> return crlf;
> }
>
> const charstring CR := GetCR();
>
> template Modem_Signal Init_Val := {
> data := "ATZ" & CR
> }
>
>I would say, either a conversion operation char2str, or some
>string value
>notation as in C
>would be necessary.
>
>Regards,
>Matthias
>
>--
>SAILING A NEW COURSE IN AUTOMATED SYSTEMS AND SOFTWARE DEVELOPMENT
>09.+10. Oktober 2002, Telelogic User Conference, Munich, get more
>information at:
>
www.telelogic.com/news/usergroup/de2002/index.cfm
>
>Dr. Matthias Jung
>Application Development
>Telelogic Deutschland GmbH, Otto-Brenner-Str. 247 , 33604
>Bielefeld, Germany
>Phone: +49(521)14503-33
>Fax: +49(521)14503-50
>Mail:
This email address is being protected from spambots. You need JavaScript enabled to view it.
>
>
>
>
>Telelogic - Putting you ahead in development!
>
>
>
>