Welcome, Guest
Username: Password:
  • Page:
  • 1

TOPIC:

what does it imply by saying that optional fields shall be omitted using the omit symbol. 02 Jun 2003 06:25 #6486

Hi,

>>//after the assignment,is the value of r1.field1 equal to 10?

Yes, after the assignment, the value is 10,

but not after the assignment

>>r1 := {omit,true}

PS: These omit fields are "optional" elements in messages for protocols.

Best Regards
Ramana

Bhamidipati V. Ramana
Project Manager - Telecom, G l o b a l e d g e
work +91 80 346 7944 x439 | cell +91 98455 96175



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 jacon wang
Sent: Friday, May 30, 2003 7:27 AM
To: This email address is being protected from spambots. You need JavaScript enabled to view it.
Subject: what does it imply by saying that optional fields shall be
omitted using the omit symbol.


Hello,TTCN3
In the clause 6.3.1.0(ETSI ES 201 873-1 V2.2.1(2003-2)),
there is a sentence that Optional fields shall be omitted using the omit
symbol.
If the optional field has been assigned with non-omit
value, will the value of the field be changed by assigning the omit to
it.

For example:
type record MyRecord
{
integer field1 optional,
boolean field2
}

var MyRecord r1;
r1 := {10,true};

//after the assignment,is the value of r1.field1 equal to 10?
r1 := {omit,true};

Best Regards,
$B!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! (B2003-05-30
--
Engineering is the art of making what you want from
things you can get.

Please Log in to join the conversation.

  • Page:
  • 1

FacebookTwitterGoogle BookmarksRedditNewsvineTechnoratiLinkedin