autodoc.git / onepage.xml

version» Context lines:

autodoc.git/onepage.xml:692:   </dl>      <p>Also, these functions operates on strings:</p>      <dl>   <dt><tt>string <ref>String.capitalize</ref>(string <i>s</i>)</tt></dt>   <dd>Returns <i>s</i> with the first character converted to upper case.</dd>      <dt><tt>int <ref>String.count</ref>(string <i>haystack</i>, string <i>needle</i>)</tt></dt>   <dd>Returns the number of occurances of <i>needle</i> in <i>haystack</i>. -  Equvivalent to <tt><ref>sizeof</ref>(<i>haystack</i>/<i>needle</i>)-1</tt>.</dd> +  Equivalent to <tt><ref>sizeof</ref>(<i>haystack</i>/<i>needle</i>)-1</tt>.</dd>      <dt><tt>int <ref>String.width</ref>(string <i>s</i>)</tt></dt>   <dd>Returns the width <i>s</i> in bits (8, 16 or 32).</dd>      <dt><tt>string <ref>lower_case</ref>(string <i>s</i>)</tt></dt>   <dd>Returns <i>s</i> with all the upper case characters converted to lower case.</dd>      <dt><tt>string <ref>replace</ref>(string <i>s</i>, string <i>from</i>, string <i>to</i>)</tt></dt>   <dd>This function replaces all occurrences of the string <i>from</i>    in <i>s</i> with <i>to</i> and returns the new string.</dd>
autodoc.git/onepage.xml:7350:   </text></doc>   <constant name='__TIME__'/>   </docgroup>   <docgroup homogen-name='__VERSION__' homogen-type='constant'><doc><text><p>This define contains the current Pike version as a float. If    another Pike version is emulated, this define is updated    accordingly.</p>   </text><group><seealso/><text><p><ref resolved='cpp::.__REAL_VERSION__'>__REAL_VERSION__</ref></p>   </text></group></doc>   <constant name='__VERSION__'/>   </docgroup> - <docgroup homogen-name='__amigaos__' homogen-type='constant'><doc><text><p>This define is defined when the Pike is running on Amiga OS.</p> - </text></doc> - <constant name='__amigaos__'/> - </docgroup> +    <docgroup homogen-type='method'><doc><text><p>Check whether the argument resolves to a constant or not.</p>   </text><group><seealso/><text><p><ref resolved='cpp::constant'>#if</ref>, <ref resolved='cpp::defined'>defined()</ref></p>   </text></group></doc>   <method name='constant'>   <arguments><argument name='identifier'><type><mixed/></type></argument></arguments>   <returntype><int><min>0</min><max>1</max></int></returntype>   </method>   <method name='efun'>   <arguments><argument name='identifier'><type><mixed/></type></argument></arguments>   <returntype><attribute><prefix/><attribute>"deprecated"</attribute><subtype><int><min>0</min><max>1</max></int></subtype></attribute></returntype>
autodoc.git/onepage.xml:9968:    it might have leading <expr>".."</expr> components. If the last    nonempty argument ends with a directory separator then the    result ends with that too. If all components in a relative path    disappear due to subsequent <expr>".."</expr> components then the    result is <expr>"."</expr>.</p>   <p> <ref resolved='predef::combine_path_unix'>combine_path_unix()</ref> concatenates in UNIX style, which also is    appropriate for e.g. URL:s ("/" separates path components and    absolute paths start with "/"). <ref resolved='predef::combine_path_nt'>combine_path_nt()</ref>    concatenates according to NT filesystem conventions ("/" and "\"    separates path components and there might be a drive letter in -  front of absolute paths). <ref resolved='predef::combine_path_amigaos'>combine_path_amigaos()</ref> concatenates -  according to AmigaOS filesystem conventions.</p> +  front of absolute paths).</p>   <p> <ref resolved='predef::combine_path'>combine_path()</ref> is equivalent to <ref resolved='predef::combine_path_unix'>combine_path_unix()</ref> on UNIX-like    operating systems, and equivalent to <ref resolved='predef::combine_path_nt'>combine_path_nt()</ref> on NT-like -  operating systems, and equivalent to <ref resolved='predef::combine_path_amigaos'>combine_path_amigaos()</ref> on -  AmigaOS-like operating systems.</p> +  operating systems.</p>   </text><group><seealso/><text><p><ref resolved='predef::getcwd'>getcwd()</ref>, <ref resolved='predef::Stdio.append_path'>Stdio.append_path()</ref></p>   </text></group></doc>   <method name='combine_path'>   <arguments><argument name='path'><type><string/></type></argument><argument name='paths'><type><varargs><string/></varargs></type></argument></arguments>   <returntype><string/></returntype>   </method>   <method name='combine_path_unix'>   <arguments><argument name='path'><type><string/></type></argument><argument name='paths'><type><varargs><string/></varargs></type></argument></arguments>   <returntype><string/></returntype>   </method>   <method name='combine_path_nt'>   <arguments><argument name='path'><type><string/></type></argument><argument name='paths'><type><varargs><string/></varargs></type></argument></arguments>   <returntype><string/></returntype>   </method> - <method name='combine_path_amigaos'> - <arguments><argument name='path'><type><string/></type></argument><argument name='paths'><type><varargs><string/></varargs></type></argument></arguments> - <returntype><string/></returntype> - </method> +    </docgroup>   <docgroup homogen-name='compile' homogen-type='method'><doc><text><p>Compile a string to a program.</p>   <p> This function takes a piece of Pike code as a string and    compiles it into a clonable program.</p>   <p> The optional argument <ref resolved='predef::compile.handler'>handler</ref> is used to specify an alternative    error handler. If it is not specified the current master object will    be used.</p>   <p> The optional arguments <ref resolved='predef::compile.major'>major</ref> and <ref resolved='predef::compile.minor'>minor</ref> are used to tell the    compiler to attempt to be compatible with Pike <ref resolved='predef::compile.major'>major</ref>.<ref resolved='predef::compile.minor'>minor</ref>.</p>   </text><group><note/><text><p>Note that <ref resolved='predef::compile.source'>source</ref> must contain the complete source for a program.