summaryrefslogtreecommitdiff
path: root/opcodes/sprintf.xml
diff options
context:
space:
mode:
authorFelipe Sateler <fsateler@debian.org>2011-07-26 23:02:40 -0400
committerFelipe Sateler <fsateler@debian.org>2011-07-26 23:02:40 -0400
commit3a91171181113761a14bcc36a086a8dda144b77b (patch)
tree7affbde923b0131e3e954519a8afb24cd408982d /opcodes/sprintf.xml
parente99de1fa9e7b72351523a958cb2a13557884f0a4 (diff)
Imported Upstream version 5.13~dfsg
Diffstat (limited to 'opcodes/sprintf.xml')
-rw-r--r--opcodes/sprintf.xml14
1 files changed, 6 insertions, 8 deletions
diff --git a/opcodes/sprintf.xml b/opcodes/sprintf.xml
index c205837..331c502 100644
--- a/opcodes/sprintf.xml
+++ b/opcodes/sprintf.xml
@@ -16,14 +16,13 @@
<refsect1>
<title>Description</title>
<para>
- <emphasis>sprintf</emphasis> write printf-style formatted output to a string variable, similarly to the C function sprintf(). sprintf runs at i-time only.
+ <emphasis>sprintf</emphasis> write printf-style formatted output to a string variable, similarly to the C function sprintf(). <emphasis>sprintf</emphasis> runs at i-time only.
</para>
</refsect1>
<refsect1>
<title>Syntax</title>
<synopsis>Sdst <command>sprintf</command> Sfmt, xarg1[, xarg2[, ... ]]</synopsis>
- <synopsis>Sdst <command>sprintfk</command> Sfmt, xarg1[, xarg2[, ... ]]</synopsis>
</refsect1>
<refsect1>
@@ -52,15 +51,14 @@
<refsect1>
<title>Example</title>
<programlisting>
-Sname sprintf "soundin-%04d.wav", ifileno
-Smsg sprintf "The file name is: '%s'", Sname
- puts Smsg, 1
-asig soundin Sname
- </programlisting>
+Sname <emphasis role="opc">sprintf</emphasis> "soundin-%04d.wav", ifileno
+Smsg <emphasis role="opc">sprintf</emphasis> "The file name is: '%s'", Sname
+ <emphasis role="opc">puts</emphasis> Smsg, 1
+asig <emphasis role="opc">soundin</emphasis> Sname</programlisting>
</refsect1>
<refsect1>
- <title>See also</title>
+ <title>See Also</title>
<para>
<link linkend="sprintfk"><citetitle>sprintfk</citetitle></link>
</para>