At 6:46 PM +0100 3/24/07, david alis wrote:
And finally just for fun:
mdata=:;:'F S J D Q U e Q P'
mdata
+-+-+-+-+-+-+-+-+-+
|F|S|J|D|Q|U|e|Q|P|
+-+-+-+-+-+-+-+-+-+
mdata =: 4{.mdata
mdata
+-+-+-+-+
|E|R|I|C|
+-+-+-+-+
(but I think it works differently in Darwin...)
Actually, this one works the same ... Interesting
bug, especially the "creation" of data not in any
input... Seems the difference between a singleton
and string in the first element between these and
previous examples, windows/linux vs darwin should
provide a clue to what is broken...
require 'jmf'
unmapall_jmf_ ''
createjmf_jmf_ 'testdata';150e6
map_jmf_ 'mdata';'testdata'
mdata=:;:'F S J D Q U e Q P'
mdata
+-+-+-+-+-+-+-+-+-+
|F|S|J|D|Q|U|e|Q|P|
+-+-+-+-+-+-+-+-+-+
mdata =: 4{.mdata
mdata
+-+-+-+-+
|E|R|I|C|
+-+-+-+-+
version ''
Binary: j601binc_darwin_powerpc
Library: j601libc
Help: j601hlpc
Engine: j601/2006-11-17/17:05
ProductName: Mac OS X
ProductVersion: 10.4.9
BuildVersion: 8P135
java version "1.5.0_07" Java(TM) 2 Runtime Environment, Standard
Edition (build 1.5.0_07-164) Java HotSpot(TM) Client VM (build
1.5.0_07-87, mixed mode, sharing)
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm