Re: [sv-bc] query regarding array assignment pattern

From: Brad Pierce <Brad.Pierce_at_.....>
Date: Thu Jun 01 2006 - 23:09:51 PDT
Subhamoy,

 

I don't see that example in the LRM, but there is a similar example in
8.13 -

 

     var integer i = '{31:1, 23:1, 15:1, 8:1, default:0};

 

You make a good point.  An integer is not an array. These cannot be
distinguished using $dimensions() from 22.6 or even the type operator of
6.10, but they can be distinguished using $typename() from 22.2.

 

Probably that example from 8.13 is illegal.

 

-- Brad

 

 
Received on Thu Jun 1 23:10:16 2006

This archive was generated by hypermail 2.1.8 : Thu Jun 01 2006 - 23:10:33 PDT