RANK ERROR: Difference between revisions

Jump to navigation Jump to search
60 bytes added ,  14:36, 30 April 2020
m
Errors category
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]]

Navigation menu