Pangram checker: Difference between revisions

Content added Content deleted
m (→‎{{header|APL}}: fix spelling)
Line 261: Line 261:
A←'ABCDEFGHIJKLMNOPQRSTUVWXYZ' ⍝ or ⎕ucs 64 + ⍳26, or just ⎕a in Dyalog
A←'ABCDEFGHIJKLMNOPQRSTUVWXYZ' ⍝ or ⎕ucs 64 + ⍳26, or just ⎕a in Dyalog


Panagram←{∧/ ∨⌿ 2 26⍴(a,A) ∊ ⍵}
Pangram ← {∧/ ∨⌿ 2 26⍴(a,A) ∊ ⍵}
Panagram 'This should fail'
Pangram 'This should fail'
0
0
Panagram 'The quick brown fox jumps over the lazy dog'
Pangram 'The quick brown fox jumps over the lazy dog'
1
1
</syntaxhighlight>
</syntaxhighlight>