cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Submit your abstract to the call for content for Discovery Summit Americas by April 23. Selected abstracts will be presented at Discovery Summit, Oct. 21- 24.
Discovery is online this week, April 16 and 18. Join us for these exciting interactive sessions.
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))