cvs: phpdoc-da /reference/strings/functions ord.xml

[email protected] ("Tom Sommer")
Newsgroups php.doc.da
Message-ID <cvstomsommer1089051618@cvsserver>
tomsommer		Mon Jul  5 14:20:18 2004 EDT

  Added files:                 
    /phpdoc-da/reference/strings/functions	ord.xml 
  Log:
  Initial translation
  
  

http://cvs.php.net/co.php/phpdoc-da/reference/strings/functions/ord.xml?r=1.1&p=1
Index: phpdoc-da/reference/strings/functions/ord.xml
+++ phpdoc-da/reference/strings/functions/ord.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.5 Maintainer: tomsommer Status: ready -->
  <refentry id="function.ord">
   <refnamediv>
    <refname>ord</refname>
    <refpurpose>Returnere ASCII værdien af et tegn</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Beskrivelse</title>
     <methodsynopsis>
      <type>int</type><methodname>ord</methodname>
      <methodparam><type>string</type><parameter>string</parameter></methodparam>
     </methodsynopsis>
    <para>
     Returnerer ASCII værdien af det første tegn i
     <parameter>string</parameter>.  Denne funktion komplimentere
     <function>chr</function>.
     <example>
      <title><function>ord</function> eksempel</title>
      <programlisting role="php">
<![CDATA[
<?php
$str = "\n";
if (ord($str) == 10) {
    echo "Det første tegn i \$str er et linieskift.\n";
}
?>
]]>
      </programlisting>
     </example>
    </para>
    <para>
     Du kan finde en ASCII-tabel her: <ulink url="&url.asciitable;"
     >&url.asciitable;</ulink>.
    </para>
    <simpara>
     Se også <function>chr</function>.
    </simpara> 
   </refsect1>
  </refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.