array issues?



The documentation on "array" says that

array(foo,'flonum,10);

should create a 10 element floating point array, but maxima 5.17.0 says:

array(foo,'flonum,10);

Non-integer dimension - `array'
  -- an error.  To debug this try debugmode(true);

what's going on there?

Also, array('foo,10) doesn't work because it doesn't like 'foo as the 
first argument?

  array('foo,10);

Improper first argument to `array':
'foo
  -- an error.  To debug this try debugmode(true);

Also, it seems that an array can be redeclared as a different size 
without error, but it is not clear in the documentation that once you 
declare an array you can in fact redeclare it.