mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-22 12:52:33 +00:00
xmldocs: Improve examples.
Use example tags instead of regular para tags where possible. ASTERISK-30090 Change-Id: Iada8bbfda08f30b118cedf2d040bbb21e4966ec5
This commit is contained in:
committed by
Friendly Automation
parent
e92f047e5f
commit
7f892d03a5
@@ -49,8 +49,9 @@
|
||||
<para>Choose a random number between <replaceable>min</replaceable> and <replaceable>max</replaceable>.
|
||||
<replaceable>min</replaceable> defaults to <literal>0</literal>, if not specified, while <replaceable>max</replaceable> defaults
|
||||
to <literal>RAND_MAX</literal> (2147483647 on many systems).</para>
|
||||
<para>Example: Set(junky=${RAND(1,8)});
|
||||
Sets junky to a random number between 1 and 8, inclusive.</para>
|
||||
<example title="Set random number between 1 and 8, inclusive">
|
||||
exten => s,1,Set(junky=${RAND(1,8)})
|
||||
</example>
|
||||
</description>
|
||||
</function>
|
||||
***/
|
||||
|
Reference in New Issue
Block a user