RANK ERROR: Difference between revisions

Jump to navigation Jump to search
41 bytes added ,  14:48, 20 November 2019
m
8 revisions imported: Migrate from miraheze
Miraheze>Adám Brudzewsky
No edit summary
m (8 revisions imported: Migrate from miraheze)
(4 intermediate revisions by 2 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}}

Navigation menu