Quantcast
Channel: Take Command / TCC
Viewing all articles
Browse latest Browse all 1696

@FORMAT (commas in string) inside @IF?

$
0
0
I spent a couple hours figuring out a bug in a BTM and it boils down to this.

This works as expected.

1688143354886.png

This works differently. The comma between xxx and yyy is being seen as belonging to @IF but the ,yyy still contributes to @FORMAT's length.

1688143437900.png

1688144250043.png

Escaping that comma isn't perfect. It fixes the problem with @IF but the escape character itself contributes to @FORMAT's length even though it's not printed.

1688143850290.png

1688143912753.png

I figure the escape character...

Read more

Viewing all articles
Browse latest Browse all 1696

Trending Articles