Thank You Bill and Devon it becomes clear to me. Thanks again, Hermann ______________________
Hermann Wandelt Schustersweid 6 47665 Sonsbeck E-Mail: bay...@online.de -----Ursprüngliche Nachricht----- Von: programming-boun...@jsoftware.com [mailto:programming-boun...@jsoftware.com] Im Auftrag von bill lam Gesendet: Mittwoch, 16. Dezember 2009 15:36 An: programming@jsoftware.com Betreff: Re: [Jprogramming] Indexed Write(length) Error I guess the length error referred to the right argument of 1!:12 that it expected a count of 2 item. a 1!:12 f,(sg*60) or a 1!:12 f;(sg*60) mer, 16 Dec 2009, Hermann Wandelt skribis: > Yes Bill, 'a' is a character string of 60 bytes. > > a=. 10 15 15 10 10":tpr=.sg,(sg*#Tin),(#Tin),(sg*#Tdi),#Tdi > > a > ' 0 0 9679 0 49' > > > ______________________ > > Hermann Wandelt > > Schustersweid 6 > > 47665 Sonsbeck > > E-Mail: bay...@online.de > > -----Ursprüngliche Nachricht----- > Von: programming-boun...@jsoftware.com > [mailto:programming-boun...@jsoftware.com] Im Auftrag von bill lam > Gesendet: Mittwoch, 16. Dezember 2009 15:03 > An: programming@jsoftware.com > Betreff: Re: [Jprogramming] Indexed Write(length) Error > > What is 'a'? Is it a rank-1 character array of 60 bytes? > > mer, 16 Dec 2009, Hermann Wandelt skribis: > > I'm not very experienced in using Foreign Conjunctions. Therefore I can't > > see what the length error causes. > > > > > > > > NB.---------------Test No. 1 > > > ---------------------------------------------------------------------------- > > -------------------------------------------------- > > > > sg > > > > 0 > > > > (10 15 15 10 10":tpr=.sg,(sg*#Tin),(#Tin),(sg*#Tdi),#Tdi) > > (1!:12)('d:\xldlm\dlm_daten\dlmnIndex.txt';(sg*60),60) > > > > |length error > > > > | (10 15 15 10 10":tpr=.sg,(sg*#Tin),(#Tin),(sg*#Tdi),#Tdi) (1!:12) > > ('d:\xldlm\dlm_daten\dlmnIndex.txt';(sg*60),60) > > > > > > NB. -------------Test No. 2 > > > ---------------------------------------------------------------------------- > [---=| Quote block shrinked by t-prot: 23 lines snipped |=---] > > > > a (1!:12) f,(sg*60),60 > > > > |length error > > > > | a (1!:12)f,(sg*60),60 > > > > > > NB. > > > ---------------------------------------------------------------------------- > [---=| TOFU protection by t-prot: 20 lines snipped |=---] -- 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 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm