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

TOPIC:

what does it imply by saying that optional fields shall be omitted using the omit symbol. 30 May 2003 01:57 #6484

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,
             =A
1   ?003-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