<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=GB2312">
<STYLE>
BLOCKQUOTE {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
DIV.FoxDiv20120408084759765187 {
COLOR: #000000; WORD-WRAP: break-word; WEBKIT-NBSP-MODE: SPACE; WEBKIT-LINE-BREAK: AFTER-WHITE-SPACE
}
P {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
BODY {
FONT-SIZE: 10.5pt; COLOR: #000080; LINE-HEIGHT: 1.5; FONT-FAMILY: 宋体
}
</STYLE>
<META content="MSHTML 6.00.2900.6182" name=GENERATOR></HEAD>
<BODY style="MARGIN: 10px">
<DIV style="COLOR: #000000">Thank you, that will work. But if there are many
Else, it will not be pretty.<SPAN style="COLOR: #000000"></SPAN></DIV>
<DIV> </DIV>
<HR style="WIDTH: 210px; HEIGHT: 1px" align=left color=#b5c4df SIZE=1>
<DIV><SPAN><SPAN
style="FONT-SIZE: 10.5pt; COLOR: #000000; FONT-FAMILY: 宋体"><SPAN
class=Apple-style-span
style="WORD-SPACING: 0px; FONT: 10pt arial; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; orphans: 2; widows: 2; webkit-text-decorations-in-effect: none; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px">Cai
Yuanwu 蔡园<SPAN style="FONT-SIZE: 10pt"></SPAN>武<BR>Dept. of Engineering
Mechanics,<BR>Dalian University of Technology,<BR>Dalian 116024,
China</SPAN></SPAN></SPAN></DIV>
<DIV> </DIV>
<DIV
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<DIV
style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px; FONT-SIZE: 12px; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; COLOR: #000000; PADDING-TOP: 8px">
<DIV><B>发件人:</B> <A href="mailto:r.sabariego@ulg.ac.be">Ruth V.
Sabariego</A></DIV>
<DIV><B>发送时间:</B> 2012-04-07 23:14</DIV>
<DIV><B>收件人:</B> <A href="mailto:yuanwucai@gmail.com">yuanwucai</A></DIV>
<DIV><B>抄送:</B> <A href="mailto:gmsh@geuz.org">gmsh</A></DIV>
<DIV><B>主题:</B> Re: [Gmsh] If - ElseIf - EndIf</DIV></DIV></DIV>
<DIV>
<DIV class=FoxDiv20120408084759765187><BASE href=x-msg://9293/>Indeed, there is
no ElseIf ...
<DIV>So, a simple workaround woud be:</DIV>
<DIV>If(a==1)</DIV>
<DIV>...</DIV>
<DIV>EndIf</DIV>
<DIV>If(a!=1)</DIV>
<DIV>...</DIV>
<DIV>EndIf</DIV>
<DIV><BR></DIV>
<DIV>Regards,</DIV>
<DIV>Ruth</DIV>
<DIV> </DIV>
<DIV><BR>
<DIV apple-content-edited="true"><SPAN class=Apple-style-span
style="WORD-SPACING: 0px; FONT: medium Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; orphans: 2; widows: 2; webkit-text-decorations-in-effect: none; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px; webkit-border-horizontal-spacing: 0px; webkit-border-vertical-spacing: 0px"><SPAN
class=Apple-style-span
style="WORD-SPACING: 0px; FONT: medium Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; orphans: 2; widows: 2; webkit-text-decorations-in-effect: none; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px; webkit-border-horizontal-spacing: 0px; webkit-border-vertical-spacing: 0px">
<DIV
style="WORD-WRAP: break-word; webkit-nbsp-mode: space; webkit-line-break: after-white-space"><SPAN
class=Apple-style-span
style="WORD-SPACING: 0px; FONT: medium Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; orphans: 2; widows: 2; webkit-text-decorations-in-effect: none; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px; webkit-border-horizontal-spacing: 0px; webkit-border-vertical-spacing: 0px">
<DIV
style="WORD-WRAP: break-word; webkit-nbsp-mode: space; webkit-line-break: after-white-space">
<DIV>--</DIV>
<DIV>Dr. Ir. Ruth V. Sabariego</DIV>
<DIV>University of Liege, Electrical Engineering & Computer
Science, </DIV>
<DIV>Applied & Computational Electromagnetics (ACE),</DIV>
<DIV>phone: +32-4-3663737 - fax: +32-4-3662910 - <A
href="http://ace.montefiore.ulg.ac.be/">http://ace.montefiore.ulg.ac.be/</A></DIV><BR
class=Apple-interchange-newline><BR></DIV></SPAN></DIV></SPAN></SPAN></DIV><BR>
<DIV>
<DIV>On 07 Apr 2012, at 07:55, yuanwucai wrote:</DIV><BR
class=Apple-interchange-newline>
<BLOCKQUOTE type="cite"><SPAN class=Apple-style-span
style="WORD-SPACING: 0px; FONT: medium Helvetica; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; orphans: 2; widows: 2; webkit-text-decorations-in-effect: none; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px; webkit-border-horizontal-spacing: 0px; webkit-border-vertical-spacing: 0px">
<DIV
style="FONT-SIZE: 10.5pt; MARGIN: 10px; COLOR: rgb(0,0,0); LINE-HEIGHT: 1.5; FONT-FAMILY: 宋体">
<DIV>Hello,</DIV>
<DIV>I found that there is no 'ElseIf' function, only 'If - EndIf'. How can I
do something like that?</DIV>
<DIV>Best regards,</DIV>
<DIV> </DIV>
<HR style="WIDTH: 210px; HEIGHT: 1px" align=left color=#b5c4df SIZE=1>
<DIV><SPAN><SPAN
style="FONT-SIZE: 10.5pt; COLOR: rgb(0,0,0); FONT-FAMILY: 宋体"><SPAN
class=Apple-style-span
style="WORD-SPACING: 0px; FONT: 10pt arial; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; orphans: 2; widows: 2">Cai
Yuanwu 蔡园<SPAN style="FONT-SIZE: 10pt"></SPAN>武<BR>Dept. of Engineering
Mechanics,<BR>Dalian University of Technology,<BR>Dalian 116024,
China</SPAN></SPAN></SPAN></DIV>_______________________________________________<BR>gmsh
mailing list<BR><A href="mailto:gmsh@geuz.org">gmsh@geuz.org</A><BR><A
href="http://www.geuz.org/mailman/listinfo/gmsh">http://www.geuz.org/mailman/listinfo/gmsh</A><BR></DIV></SPAN></BLOCKQUOTE></DIV><BR></DIV></DIV></DIV></BODY></HTML>