FUNCTION: BnCode2Length - length of a code
 
CALLING SEQUENCE:
-   BnCode2Length(code)
-   BN[BnCode2Length](code)
-  
   
PARAMETERS:
- code =  any list denoting a code
 
 
SYNOPSIS:
-  The BnCode2Length function calculates  the  length  of an element of the
  group given by  its  code. It  is  equal  to  the  minimal length of  an
  expression of the group element as a  product of  simple reflections. It
  is also the sum of the components of the code.
 
 
-  Whenever there is a conflict between  the  function  name  BnCode2Length
  and  another  name  used  in  the  same  session, use  the   long   form
  BN['BnCode2Length'].
 
 
EXAMPLES:
> with(BN):
> BnCode2Length([0,1,0,5,4]);
 
                                       10
 
SEE ALSO: BnCode2Rd