4 posts,
2 people · 742 views
Thread Rating: ★★★★★
| closeddouble quote in format string |
| Started by nacrotic on 06-17-2007, 08:03 AM |
N
nacrotic
Threads: 5
Joined: Aug 2006
started this thread
Posts: 16Threads: 5
Joined: Aug 2006
06-17-2007, 08:03 AM
#1
i want format this string : "%s" "spk '%s'" "cd" "u"rnrni have try add befor specialchar bug same error ("%s" "spk \'%s\'" "cd" "u")rnrni have try add single quote around specialchar with ('"'%s'"' '"'spk '\''''%s'\'''''"' '"'cd'"' '"'u'"')rnrnbut continu to dont workrnrnthe final commande must bernformat(soundToWrite,95," "%s" "spk '%s'" "cd" "u" ",g_soundName[g_soundNums],soundPath)rnrnthank for your help
posted here
Posts: 794Threads: 54
Joined: May 2005
06-17-2007, 01:48 PM
#2
the breakout character in PAWN is ^ by default ...n nIf you want to use the C version ( ) then you have to addn n
n#pragma ctrlchar
N
nacrotic
Threads: 5
Joined: Aug 2006
started this thread
Posts: 16Threads: 5
Joined: Aug 2006
06-17-2007, 02:01 PM
#3
oh ... ok thank
posted here
Posts: 794Threads: 54
Joined: May 2005
06-17-2007, 03:24 PM
#4
no problem :D

