Thanks Henry,
Has that limit been around for a while, because my sentences are well over
32,000 bytes. I reset using 9!:37 and use 5!:6 <'t' [ t=. "svg expression" to
get the expected string produced from my input, then assert. that they are
equivalent, which makes for a very long sentence.
Anyway, the problem that I have found seems unrelated to the string length, but
instead comes down to how I am processing literals and unicode, which in turn
affects symbols as they are built on top of the literal and unicode
representation. I can execute the components of the sentence successfully, but
it is the full sentence that crashes the session.
JVERSION
Engine: j901/j64avx2/darwin
Release-f: commercial/2020-06-11T16:07:02
Library: 9.01.24
Qt IDE: 1.8.3/5.12.3
Platform: Darwin 64
Installer: J901 install
InstallPath: /users/bobtherriault/j901
Contact: www.jsoftware.com
;@: (;@:(}: , >:@:;each@:{:) each) @: (+/@:((10;13)e.{:) each each) ,1 NB.
full sentence works in j901
1
[t=: (+/@:((10;13)e.{:) each each) ,1
┌───┐
│┌─┐│
││0││
│└─┘│
└───┘
;@: (;@:(}: , >:@:;each@:{:) each) t
1
JVERSION
Engine: j902/j64avx2/darwin
Beta-k: commercial/2020-11-03T11:38:14
Library: 9.02.06
Qt IDE: 1.8.7/5.12.7(5.12.7)
Platform: Darwin 64
Installer: J902 install
InstallPath: /users/bobtherriault/j902
Contact: www.jsoftware.com
[t=: (+/@:((10;13)e.{:) each each) ,1 NB. partial result works
┌───┐
│┌─┐│
││0││
│└─┘│
└───┘
;@: (;@:(}: , >:@:;each@:{:) each) t NB. completion of partial result works
1
;@: (;@:(}: , >:@:;each@:{:) each) @: (+/@:((10;13)e.{:) each each) ,1 NB.
This crashes the session
Cheers, bob
> On Nov 3, 2020, at 13:51, Henry Rich <[email protected]> wrote:
>
> Max length of a sentence is 32000 bytes, but you can get a longer string by
> using 0 : 0 .
>
> You will send me a failing case when you have one, right?
>
> Henry Rich
>
> On 11/3/2020 1:10 PM, 'robert therriault' via Beta wrote:
>> Moved over to beta thread from programming.
>>
>> I think I figured it out.
>>
>> My jig902.ijs calls a testfile with some VERY long strings of svg output
>> (around 100k+ characters). When I extracted one of these lines and tried to
>> do a character count I got a limit error, so I can't be precise in the
>> actual length of the strings or what is the longest string.
>>
>> So now I am able to load the jig902.ijs file and can run it by disabling the
>> test run.
>>
>> Let me know if you need more information about the test file. I would like
>> to be able to run it, as this is how I catch the changes that the different
>> versions have generated.
>>
>> Cheers, bob
>>
>>> On Nov 3, 2020, at 09:46, 'robert therriault' via Programming
>>> <[email protected]> wrote:
>>>
>>> jig902 script
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
>
>
> --
> This email has been checked for viruses by AVG.
> https://www.avg.com
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm