codebox memory limit

charles spencer's icon

I'm getting syntax errors seemingly related to the size of my codebox code.
I have a bunch of statements like this but eventually I get error :
unexpected [ on line x

but the line causing the error is similar to all the previous declarations. and if I deleted, i subsequently get the same error on the next line.

Is there a way to augment codebox's memory limit?
var seq_1_16 = [
"0000000000000001"];
var seq_2_3 = [
"011"];
var seq_2_4 = [
"0011"];
var seq_2_5 = [
"00011", "00101"];
var seq_2_6 = [
"000011", "000101"];
var seq_2_7 = [
"0000011", "0000101", "0001001"];
var seq_2_8 = [
"00000011", "00000101", "00001001"];
var seq_2_9 = [
"000000011", "000000101", "000001001", "000010001"];
var seq_2_10 = [
"0000000011", "0000000101", "0000001001", "0000010001"];
var seq_2_11 = [
"00000000011", "00000000101", "00000001001", "00000010001", "00000100001"];
var seq_2_12 = [
"000000000011", "000000000101", "000000001001", "000000010001", "000000100001"];
var seq_2_13 = [
"0000000000011", "0000000000101", "0000000001001", "0000000010001", "0000000100001",
"0000001000001"];
var seq_2_14 = [
"00000000000011", "00000000000101", "00000000001001", "00000000010001", "00000000100001",
"00000001000001"];
var seq_2_15 = [
"000000000000011", "000000000000101", "000000000001001", "000000000010001", "000000000100001",
"000000001000001", "000000010000001"];
var seq_2_16 = [
"0000000000000011", "0000000000000101", "0000000000001001", "0000000000010001", "0000000000100001",
"0000000001000001", "0000000010000001"];
var seq_3_4 = [
"0111"];
var seq_3_5 = [
"00111", "01011"];
var seq_3_6 = [
"000111", "001011", "001101"];
var seq_3_7 = [
"0000111", "0001011", "0001101", "0010011", "0010101"];
var seq_3_8 = [
"00000111", "00001011", "00001101", "00010011", "00010101",
"00011001", "00100101"];
var seq_3_9 = [
"000000111", "000001011", "000001101", "000010011", "000010101",
"000011001", "000100011", "000100101", "000101001"];
var seq_3_10 = [
"0000000111", "0000001011", "0000001101", "0000010011", "0000010101",
"0000011001", "0000100011", "0000100101", "0000101001", "0000110001",
"0001000101", "0001001001"];
var seq_3_11 = [
"00000000111", "00000001011", "00000001101", "00000010011", "00000010101",
"00000011001", "00000100011", "00000100101", "00000101001", "00000110001",
"00001000011", "00001000101", "00001001001", "00001010001", "00010001001"];
var seq_3_12 = [
"000000000111", "000000001011", "000000001101", "000000010011", "000000010101",
"000000011001", "000000100011", "000000100101", "000000101001", "000000110001",
"000001000011", "000001000101", "000001001001", "000001010001", "000001100001",
"000010000101", "000010001001", "000010010001"];
var seq_3_13 = [
"0000000000111", "0000000001011", "0000000001101", "0000000010011", "0000000010101",
"0000000011001", "0000000100011", "0000000100101", "0000000101001", "0000000110001",
"0000001000011", "0000001000101", "0000001001001", "0000001010001", "0000001100001",
"0000010000011", "0000010000101", "0000010001001", "0000010010001", "0000010100001",
"0000100001001", "0000100010001"];
var seq_3_14 = [
"00000000000111", "00000000001011", "00000000001101", "00000000010011", "00000000010101",
"00000000011001", "00000000100011", "00000000100101", "00000000101001", "00000000110001",
"00000001000011", "00000001000101", "00000001001001", "00000001010001", "00000001100001",
"00000010000011", "00000010000101", "00000010001001", "00000010010001", "00000010100001",
"00000011000001", "00000100000101", "00000100001001", "00000100010001", "00000100100001",
"00001000010001"];
var seq_3_15 = [
"000000000000111", "000000000001011", "000000000001101", "000000000010011", "000000000010101",
"000000000011001", "000000000100011", "000000000100101", "000000000101001", "000000000110001",
"000000001000011", "000000001000101", "000000001001001", "000000001010001", "000000001100001",
"000000010000011", "000000010000101", "000000010001001", "000000010010001", "000000010100001",
"000000011000001", "000000100000011", "000000100000101", "000000100001001", "000000100010001",
"000000100100001", "000000101000001", "000001000001001", "000001000010001", "000001000100001"];

Joshua Kit Clayton's icon


Interesting! If you can provide us with a complete example and steps to reproduce, we'd be happy to look at it. Thanks

charles spencer's icon

to reproduce : open in max
Error appears in console

Max Patch
Copy patch and select New From Clipboard in Max.

Joshua Kit Clayton's icon

Something about any attachments seemed to corrupt this thread (at least in admin view).

Please send your example to https://cycling74.com/support/contact, and we can handle it there.

Thanks,
Joshua

charles spencer's icon

Ok I have done so.

charles spencer's icon

Were you able to replicate the error?

Joshua Kit Clayton's icon

Yes, Thank you Charles. We've made a ticket and will be investigating further.

charles spencer's icon

Checking in to see if this was resolved...