[Asterisk-doc] docs appendix03.xml,1.8,1.9
websmith
asterisk-doc@lists.digium.com
Wed, 17 Dec 2003 20:00:23 +0000
Comments:
Update of /cvsroot/asterisk/docs
In directory sc8-pr-cvs1:/tmp/cvs-serv32457
Modified Files:
appendix03.xml
Log Message:
Added formatting to GotoIf() application
Index: appendix03.xml
===================================================================
RCS file: /cvsroot/asterisk/docs/appendix03.xml,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** appendix03.xml 17 Dec 2003 00:36:08 -0000 1.8
--- appendix03.xml 17 Dec 2003 20:00:13 -0000 1.9
***************
*** 569,582 ****
or priority is invalid.
</para>
- <!-- Continue the work here! -->
<formalpara><title>GotoIf: Conditional goto</title>
<para>
! GotoIf(Condition?label1:label2): Go to label 1 if condition is
! true, to label2 if condition is false. Either label1 or label2 may be
! omitted (in that case, we just don't take the particular branch) but not
! both. Look for the condition syntax in examples or documentation.
</para>
</formalpara>
<formalpara><title>GotoIfTime: Conditional goto on current time</title>
<para>
--- 569,586 ----
or priority is invalid.
</para>
<formalpara><title>GotoIf: Conditional goto</title>
<para>
! <function>GotoIf(<replaceable>Condition</replaceable>?<replaceable>label1</replaceable>:<replaceable>label2</replaceable>)</function>
</para>
</formalpara>
+ <para>
+ Go to <emphasis>label1</emphasis> if condition is
+ true, to <emphasis>label2</emphasis> if condition is false.
+ Either <emphasis>label1</emphasis> or <emphasis>label2</emphasis>
+ may be omitted (in that case, we just don't take the
+ particular branch) but not both.
+ </para>
+ <!-- Continue the work here! -->
<formalpara><title>GotoIfTime: Conditional goto on current time</title>
<para>