OK, this is strange.....
iMg5:~/Documents/jstuff/words jkt$ j7
JVERSION
Installer: j701abeta_mac_powerpc.dmg
Engine: j701/beta/2010-03-31/11:40
Library: 7.01.002
words {~ I. 1e6 = ; */ &.> ' abcdefghijklmnopqrstuvwxyz'&i.&.>
words =. <;._2 ] 1!:1<'itawords.txt'
+-----+
|typey|
+-----+
6!:2 'words {~ I. 1e6 = ; */ &.> ''
abcdefghijklmnopqrstuvwxyz''&i.&.> words =. <;._2 ]
1!:1<''itawords.txt'''
2.5755
NB. J in an endless loop... ^C useless
^\Quit
iMg5:~/Documents/jstuff/words jkt$
The loop occurs after the second execution of the line, whether it is
timed or not. Happens in j602 as well (both on Mac OSX). Works OK in
Linux....
At 23:38 -0700 2010/06/15, Joey K Tuttle wrote:
>I don't consider j to be a typey language... Pretty specialized lexicon!
>
> words {~ I. 1e6 = ; */ &.> ' abcdefghijklmnopqrstuvwxyz'&i.&.>
>words =. <;._2 ] 1!:1<'itawords.txt'
>+-----+
>|typey|
>+-----+
>
>
>At 21:33 -0700 2010/06/15, Roger Hui wrote:
>> >From the Journal of Recreational Mathematics,
>>Volume 27, Number 2, 1995.
>>
>>Map a to $1, b to $2, ... z to $26. The value of
>>a word is the product of the values of its letters.
>>Find a million dollar word.
>>
>>If you need a lexicon, there is one available at
>>http://www.jsoftware.com/jwiki/Puzzles/Palindromic%20Pangram?action=AttachFile&do=get&target=itawords.txt
>>----------------------------------------------------------------------
>>For information about J forums see http://www.jsoftware.com/forums.htm
>
>----------------------------------------------------------------------
>For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm