master=. (datesperyear,3) $ 0


On Wed, Nov 2, 2011 at 11:47 PM, PackRat <[email protected]> wrote:
> Why does "shape" not accept assigned values, as in the following:
>
>   datesperyear=. 365
>
>   master=. datesperyear 3 $ 0  NB. this gives syntax error
>   master=. 365 3 $ 0           NB. this does not give error
>
>   buckets=. datesperyear $ 0   NB. these do not give errors
>   counts=. datesperyear $ 0
>
> This means I have to explicitly specify numeric values in numerous
> places rather than use a single assigned value multiple times.
>
> Thanks in advance for any explanations!
>
>
> Harvey
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to