Browse Source

+ Last-minute additions and fixes

michael 20 years ago
parent
commit
abf48f62f5
5 changed files with 126 additions and 7 deletions
  1. 4 0
      docs/gpm.xml
  2. 32 0
      docs/math.xml
  3. 13 0
      docs/printer.xml
  4. 72 0
      docs/strutils.xml
  5. 5 7
      docs/sysutils.xml

+ 4 - 0
docs/gpm.xml

@@ -675,6 +675,10 @@ None.
 </seealso>
 </element>
 
+<element name="GPM_MAGIC">
+<short>Constant identifying GPM in <link id="gpm_Open"/>.</short>
+</element>
+
 </module>
 </package>
 </fpdoc-descriptions>

+ 32 - 0
docs/math.xml

@@ -1630,6 +1630,38 @@ compatibility.
 </descr>
 </element>
 
+<element name="GetSSECSR">
+<short>Get MXCSR control word (Intel only)</short>
+<descr>
+<var>GetSSECSR</var> can be used to get the SSE/SSE2 control DWord.
+It is equivalent to the <var>LDMXCSR</var> assembler instruction, and
+returns the control dword.
+</descr>
+</element>
+
+<element name="ifthen">
+<short>Return one of two values, depending on a boolean condition</short>
+<descr>
+<p>
+<var>ifthen</var> returns <var>iftrue</var> if <var>val</var> is
+<var>True</var>, and <var>False</var> if <var>val</var> is <var>False</var>.
+</p>
+<p>
+This function can be used in expressions.
+</p>
+</descr>
+</element>
+
+<element name="SetSSECSR">
+<short>Set MXCSR control word (Intel only)</short>
+<descr>
+<var>SetSSECSR</var> can be used to set the SSE/SSE2 control DWord.
+It is equivalent to the <var>STMXCSR</var> assembler instruction, and stores
+<var>w</var> in the control dword.
+</descr>
+</element>
+
+
 </module>
 </package>
 </fpdoc-descriptions>

+ 13 - 0
docs/printer.xml

@@ -74,6 +74,19 @@ are minor differences on linux/unix.
 </seealso>
 <example file="printex/printex"/>
 </element>
+
+<element name="InitPrinter">
+<short>Initialize the printer</short>
+<descr>
+</descr>
+</element>
+
+<element name="IsLstAvailable">
+<short>Determine whether printer is available.</short>
+<descr>
+</descr>
+</element>
+
 </module>
 </package>
 </fpdoc-descriptions>

+ 72 - 0
docs/strutils.xml

@@ -3502,6 +3502,78 @@ This type just refers to the correct <link id="TStringSearchOption"/> and is pro
         <errors/>
         <seealso/>
       </element>
+
+<!-- procedure Visibility: default -->
+<element name="BinToHex">
+<short>Convert a binary buffer to a hexadecimal string</short>
+<descr>
+<p>
+<var>BinToHex</var> converts the byte values in <var>BinValue</var> 
+to a string consisting of 2-charachter hexadecimal strings in
+<var>HexValue</var>.
+<var>BufSize</var> specifies the length of <var>BinValue</var>, which means
+that <var>HexValue</var> must have size <var>2*BufSize</var>.
+</p>
+<p>
+For example a buffer containing the byte values 255 and 0 will be converted to
+FF00.
+</p>
+</descr>
+<errors>
+No length checking is done, so if an invalid size is specified, an exception
+may follow.
+</errors>
+<seealso>
+<link id="HexToBin"/>
+</seealso>
+</element>
+
+<!-- function Visibility: default -->
+<element name="HexToBin">
+<short>Convert a hexadecimal string to a binary buffer</short>
+<descr>
+<var>HexToBin</var> scans the hexadecimal string representation in
+<var>HexValue</var> and transforms every 2 character hexadecimal 
+number to a byte and stores it in <var>BinValue</var>. The buffer size is
+the size of the binary buffer. Scanning will stop if the size of the binary
+buffer is reached or when an invalid character is encountered. The return
+value is the number of stored bytes.
+</descr>
+<errors>
+No length checking is done, so if an invalid size is specified, an exception
+may follow.
+</errors>
+<seealso>
+<link id="BinToHex"/>
+</seealso>
+</element>
+
+<element name="RPos">
+<short>Find last occurrence of substring or character in a string</short>
+<descr>
+<var>RPos</var> looks in <var>S</var> for the character <var>C</var> or the string
+<var>SubStr</var>. It starts looking at the end of the string, and searches
+towards the beginning of the string. If a match is found, it returns the
+position of the match. 
+</descr>
+<seealso>
+<link id="RPosEx"/>
+</seealso>
+</element>
+
+<element name="RPosex">
+<short>Find last occurrence substring or character in a string, starting at a certain position</short>
+<descr>
+<var>RPos</var> looks in <var>S</var> for the character <var>C</var> or the string
+<var>SubStr</var>. It starts looking at position <var>Offs</var>, and searches
+towards the beginning of the string. If a match is found, it returns the
+position of the match. 
+</descr>
+<seealso>
+<link id="RPos"/>
+</seealso>
+</element>
+
     </module>
     <!-- strutils -->
   </package>

+ 5 - 7
docs/sysutils.xml

@@ -7259,9 +7259,6 @@ indicate the end-of-line sequence for a text file.
 </descr>
 </element>
 
-</descr>
-</element>
-
 <element name="TSysLocale">
 <short>Type describing the current locale</short>
 <descr>
@@ -7407,7 +7404,9 @@ For more information about the used formatting characters, see the
 <link id="Format"/> string.
 </p>
 </descr>
-<link
+<seealso>
+<link id="Format"/>
+</seealso>
 </element>
 
 <element name="WideLowerCase">
@@ -7429,7 +7428,6 @@ None.
 <seealso>
 <link id="WideUpperCase"/>
 </seealso>
-</descr>
 </element>
 
 <element name="WideSameStr">
@@ -7465,6 +7463,7 @@ string (taking into account case).
 <element name="WideUpperCase">
 <short>Change a widestring to all-lowercase.</short>
 <descr>
+<p>
 <var>WideUpperCase</var> converts the string <var>S</var> to uppercase characters
 and returns the resulting string. It takes into account the operating system language
 settings when doing this, so spcial characters are converted correctly as
@@ -7480,7 +7479,6 @@ None.
 <seealso>
 <link id="WideLowerCase"/>
 </seealso>
-</descr>
 </element>
 
 <element name="WrapText">
@@ -7493,7 +7491,7 @@ in <var>Line</var>. It breaks the string only at characters which are in
 </descr>
 <seealso>
 <link id="StringReplace"/>
-<seealso>
+</seealso>
 </element>