Share your ideas for the JMP Scripting Unsession at Discovery Summit by September 17th. We hope to see you there!
Choose Language Hide Translation Bar
Highlighted
axcelenator1
Level III

Trying to parse operand for ":" operator

Hello, I have the next line of code: 

 

g_list[j] = dt << Group Columns(: || char(test_list[j]) || char(_) || char(s_list[1]), Length(s_list));

The line is generating the next problem: 

Unexpected "||".
Trying to parse operand for ":" operator

What is the best way to fix the issue?

Thanks a lot

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
axcelenator1
Level III

Re: Trying to parse operand for ":" operator

I found the problem:
There is no need to parse the  : operator. The way I should do it is like that: 

g_list[j] = dt << Group Columns(:(test_list[j] || "_" || s_list[1]), Length(s_list))

View solution in original post

1 REPLY 1
Highlighted
axcelenator1
Level III

Re: Trying to parse operand for ":" operator

I found the problem:
There is no need to parse the  : operator. The way I should do it is like that: 

g_list[j] = dt << Group Columns(:(test_list[j] || "_" || s_list[1]), Length(s_list))

View solution in original post

Article Labels

    There are no labels assigned to this post.