转义 – 如何逃避Inno Setup中的“{”和“}”

如何在Inno Setup中转义字符{和},这些字符在[Registry]部分中使用?

{,“{”不编译.

},“}”,{}}所有编译,但不起作用,它们导致注册表中的错误值.

最好的祝福.

解决方法

你可以通过加倍来逃避它.没有必要转义},因为它仅在常量内使用.

help file

A “{” character is treated as the start of the constant. If you want to use that actual character in a place where constants are supported,you must use two consecutive “{” characters. (You do not need to double “}” characters.)

相关文章

 从网上看到《Delphi API HOOK完全说明》这篇文章,基本上都...
  从网上看到《Delphi API HOOK完全说明》这篇文章,基本上...
ffmpeg 是一套强大的开源的多媒体库 一般都是用 c/c+&#x...
32位CPU所含有的寄存器有:4个数据寄存器(EAX、EBX、ECX和ED...
1 mov dst, src dst是目的操作数,src是源操作数,指令实现的...