Quantcast
Channel: Cadence Custom IC Skill Forum
Viewing all articles
Browse latest Browse all 5201

String with single backslash in SKILL

$
0
0

Hi,

I had problem to create a string having only single backslash.  For example, I'd like to create a string "\123456\".

However, I tried below cases and they don't work. Also I don't understand why "printf" and "sprintf" behave differently on this. Anyone could help?

; Print "\123456\" on CIW but not I need

printf("\\123456\\")

; Get "\\123456\\" string but not I need (only single backslash)

sprintf(nil "\\123456\\")

; Get "\\123456\\" string but not I need (only single backslash)

strcat("\\" "123456" "\\")


Viewing all articles
Browse latest Browse all 5201

Trending Articles