Hello,
starting from edition 3 of the standard, the log() statement can also be = used
to display variables, constants, ... instead of just charstring = literals. At
least two of the TTCN-3 tools support this (maybe not to = the full extend).
Best regards
Thomas
| Thomas Deiß, Nokia Research Center Street address: |
| P.O. Box 101823 Meesmannstrasse 103 |
| D-44718 Bochum, GERMANY D-44807 Bochum, GERMANY |
| Phone: +49 234 984 2217 (int. 8272217) |
| Mobile: +49 163 984 2217 |
| Fax: +49 234 984 3491 (int. 8273491) |
| E-mail: This email address is being protected from spambots. You need JavaScript enabled to view it. |
________________________________
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 ext Arvinder Singh
Sent: Thursday, 22 December, 2005 12:53
To: This email address is being protected from spambots. You need JavaScript enabled to view it.
Subject: Re: Query regarding IMPORT from C/C++ : ref ETSI ES 201 873-1 :: TTCN3 Core Language
Hi,
log() function can only be used to display a message or a char string.
Is there a way or means to display a variable value???
Best regards,
Arvinder Singh.
Narayana Rao <This email address is being protected from spambots. You need JavaScript enabled to view it.> Sent by: "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.>
12/22/2005 04:48 PM
Please respond to "active_ttcn3 : mts stf133 ttcn version 3 - active = members
only"
To: This email address is being protected from spambots. You need JavaScript enabled to view it.
cc:
Subject: Re: Query regarding IMPORT from C/C++ : ref ETSI ES 201 873-1 :: TTCN3 Core Language
Hi,
TTCN-3 supports log( ) function , similar to printf() in C
Refer Chapter-19 of ETSI TTCN-3 Standards Part-1 for more info on log statement.
Regds,
RAO
Huawei Technologies India Pvt. Ltd.
Bangalore, India.
This e-mail and attachments contain confidential information from =
HUAWEI, which is intended only for the person or entity whose address is =
listed above. Any use of the information contained herein in any way =
(including, but not limited to, total or partial disclosure, = reproduction, or
dissemination) by persons other than the intended recipient's) is prohibited. If you receive this e-mail in error, please = notify
the sender by phone or email immediately and delete 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 Ultan Mulligan
Sent: Thursday, December 22, 2005 3:29 PM
To: This email address is being protected from spambots. You need JavaScript enabled to view it.
Subject: FW: Query regarding IMPORT from C/C++ : ref ETSI ES 201 873-1 :: TTCN3 Core Language
________________________________
From: PTCCHelp
Sent: Wednesday, December 21, 2005 3:47 PM
To: This email address is being protected from spambots. You need JavaScript enabled to view it.
Subject: FW: Query regarding IMPORT from C/C++ : ref ETSI ES 201 873-1 :: TTCN3 Core Language
________________________________
From: Arvinder Singh [This email address is being protected from spambots. You need JavaScript enabled to view it.]
Sent: 21 December 2005 11:07
To: PTCCHelp
Subject: Query regarding IMPORT from C/C++ : ref ETSI ES 201 873-1 :: TTCN3 Core Language
Hello,
I wish to enquire if TTCN3 support any display/print function i.e. any =
function/construct/macro that can be used to display any information/variables..
For example, does it have anything similar to printf( ) [ in C language =
] or cout [ in C++ language].
If not, then can you explain to me how we cam import function/data type =
definition from C into a TTCN3 module.
Can we import printf() of C into a TTCN3 module, if yes then how.
Best regards,
Arvinder Singh.
Flextronics Software Systems