No idea of what your program is. If you works on windows and the program
expected c calling convention, try.

'0 16973880 + i i i'&cd

Сбт, 16 Апр 2011, Mike Duvos писал(а):
> The variable 'bin' contains an 11 byte program as a character string
> which adds two integer arguments and returns the integer result.
> 
> (,(2#16)#:a. i. bin) {'0123456789abcdef'
> 5589e58b450c0345085dc3
> 
> Now, if I allocate 11 bytes of memory, place this program in it, and
> try to call it with 'cd', the following happens.
> 
> mema 11
> 16973880
> 
> bin memw 16973880 0 11
> plus =: '0 16973880 i i i'&cd
> plus 100;200
> 
> <J then crashes>
> 
> Any ideas?
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to