Jelajahi Sumber

Pascal Scripting change: Unicode Inno Setup: Added new function VarIsClear.

Martijn Laan 11 tahun lalu
induk
melakukan
322a0bc2fb
3 mengubah file dengan 12 tambahan dan 2 penghapusan
  1. 1 1
      Components/UniPs
  2. 9 1
      ishelp/isxfunc.xml
  3. 2 0
      whatsnew.htm

+ 1 - 1
Components/UniPs

@@ -1 +1 @@
-Subproject commit 97eefc260b41ba51328d95b4ed43669f38655720
+Subproject commit db0d6f521113a31b34a76aeefd79fb148a9c4bfd

+ 9 - 1
ishelp/isxfunc.xml

@@ -1178,7 +1178,15 @@ end;
       <function>
         <name>VarIsEmpty</name>
         <prototype>function VarIsEmpty(const V: Variant): Boolean;</prototype>
-        <description><p>Returns True if the specified variant has no value assigned.</p></description>
+        <description><p>Non Unicode Inno Setup: Returns True if the specified variant's value is undefined. Unicode Inno Setup: Returns True if the specified variant is unassigned.</p></description>
+        <seealso><p><link topic="isxfunc_VarIsClear">VarIsClear</link></p></seealso>
+      </function>
+      <function>
+        <name>VarIsClear</name>
+        <prototype>function VarIsClear(const V: Variant): Boolean;</prototype>
+        <description><p>Returns True if the specified variant's value is undefined.</p></description>
+        <remarks><p>Requires Unicode Inno Setup.</p></remarks>
+        <seealso><p><link topic="isxfunc_VarIsEmpty">VarIsEmpty</link></p></seealso>
       </function>
       <function>
         <name>VarIsNull</name>

+ 2 - 0
whatsnew.htm

@@ -31,6 +31,8 @@ For conditions of distribution and use, see <a href="http://www.jrsoftware.org/f
 <li>Added the Windows 10 "compatibility" section to the various manifest resources used by Inno Setup.</li>
 <li>Added new [Setup] section directive: <tt>SignToolRetryCount</tt>, which defaults to <tt>2</tt>. Specifies the number of times the Setup Compiler should automatically retry digital signing on any errors.</li>
 <li><i>Fix:</i> Console-mode compiler (ISCC) change: Renamed /DO and /EO command line parameters to /O- and /O+ to avoid possible conflicts with /D.</li>
+<li>Pascal Scripting change: Unicode Inno Setup: Added new function <tt>VarIsClear</tt>.</li>
+<li>Unicode [Code] based on RemObjects Pascal Script Git commit db0d6f521113a31b34a76aeefd79fb148a9c4bfd.</li>
 <li>Various documentation improvements. Contributed by <a href="https://github.com/jogo-" target="_blank">jogo-</a> via <a href="https://github.com/jrsoftware" target="_blank">GitHub</a>.</li>
 <li>Minor tweaks.</li>
 </ul>