Odd words: Difference between revisions
J: see talk page
Walterpachl (talk | contribs) m (→REXX version 2, caseless: typo) |
(J: see talk page) |
||
Line 606:
14: terminable -> trial
</pre>
=={{header|J}}==
In J, the index of the first character is 0, and the index of the second character is 1, thus:<lang J> >(([-.-.) (#~ $&0 1@#)&.>) (#~ 4<#@>)cutLF fread'unixdict.txt'
annal
motto
posey
scoop
train</lang>
However, some languages have 1 for the index of the first character, which would have given us:<lang J> >(([-.-.) (#~ $&1 0@#)&.>) (#~ 4<#@>)cutLF fread'unixdict.txt'
brain
cider
cried
grata
hades
plain
point
saute
sight
slain
spree
trial</lang>
=={{header|Java}}==
|