[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: using integer
From: |
Nikos Mavrogiannopoulos |
Subject: |
Re: using integer |
Date: |
Thu, 21 Nov 2013 12:14:58 +0100 |
On Thu, Nov 21, 2013 at 8:54 AM, Dr. Wassim Znaidi <address@hidden> wrote:
> Thanks for the explanation.
> Just another question on the same feature, I have tried to make also an
> assignment like this:
> Uint8 ::= INTEGER
> ProtocolVersion ::= Uint8 (0)
What is the purpose of this assignment? If it is to set a default
value you may use something like DEFAULT 0. However, although
libtasn1's parser accepts that syntax, it doesn't apply such rules.
You'd better read the manual before using it, to see what can and what
cannot be done with it.
regards,
Nikos