User Tools

A PCRE internal error occured. This might be caused by a faulty plugin

====== Function ARRAY-RANK ====== ====Syntax==== * **array-rank** //array// → //rank// ====Arguments and Values==== * //array// - an //[[CL:Glossary:array]]//. * //rank// - a non-negative //[[CL:Glossary:integer]]//. ====Description==== Returns the number of //[[CL:Glossary:dimension|dimensions]]// of //array//. ====Examples==== <blockquote> (array-rank ([[CL:Functions:make-array]] '())) <r>0 </r> (array-rank ([[CL:Functions:make-array]] 4)) <r>1 </r> (array-rank ([[CL:Functions:make-array]] '(4))) <r>1 </r> (array-rank ([[CL:Functions:make-array]] '(2 3))) <r>2</r> </blockquote> ====Affected By==== None. ====Exceptional Situations==== Should signal an error of type **[[CL:Types:type-error]]** if its argument is not an //[[CL:Glossary:array]]//. ====See Also==== **[[CL:Constant Variables:array-rank-limit|Constant Variable ARRAY-RANK-LIMIT]]**, **[[CL:Functions:make-array|Function MAKE-ARRAY]]** ====Notes==== None.