BookmarkSubscribe
Choose Language Hide Translation Bar
Highlighted
axcelenator1
Community Trekker

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

0 Kudos
1 ACCEPTED SOLUTION

Accepted Solutions
axcelenator1
Community Trekker

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))
0 Kudos
1 REPLY 1
axcelenator1
Community Trekker

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))
0 Kudos