2,951
edits
Miraheze>Adám Brudzewsky No edit summary |
m (Errors category) |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
A RANK ERROR is an [[error message]] which indicates that an array had an incorrect [[rank]] for the way it was used. For example, in most APLs, [[Iota]] only accepts a [[vector]] or [[scalar]], so giving it a higher-rank array results in a RANK ERROR: | A '''RANK ERROR''' is an [[error message]] which indicates that an array had an incorrect [[rank]] for the way it was used. For example, in most APLs, [[Iota]] only accepts a [[vector]] or [[scalar]], so giving it a higher-rank array as [[argument]] results in a RANK ERROR: | ||
<source lang=apl> | <source lang=apl> | ||
⍳2 3⍴⍳6 | ⍳2 3⍴⍳6 | ||
Line 31: | Line 31: | ||
</source> | </source> | ||
{{Works in|[[Dyalog APL]]}} | {{Works in|[[Dyalog APL]]}} | ||
{{APL features}}[[Category:Errors]] |