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

From: Date: Mon, 05 Jul 2004 18:20:18 +0000
Subject: cvs: phpdoc-da /reference/strings/functions ord.xml
Groups: php.doc.da 
Request: Send a blank email to doc-da+get-34@lists.php.net to get a copy of this message
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 -->

« previous php.doc.da (#34) next »