cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
JMP is taking Discovery online, April 16 and 18. Register today and join us for interactive sessions featuring popular presentation topics, networking, and discussions with the experts.
Choose Language Hide Translation Bar
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
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
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))