[Gmsh] If - ElseIf - EndIf
Ruth V. Sabariego
r.sabariego at ulg.ac.be
Sat Apr 7 17:14:47 CEST 2012
Indeed, there is no ElseIf ...
So, a simple workaround woud be:
If(a==1)
...
EndIf
If(a!=1)
...
EndIf
Regards,
Ruth
--
Dr. Ir. Ruth V. Sabariego
University of Liege, Electrical Engineering & Computer Science,
Applied & Computational Electromagnetics (ACE),
phone: +32-4-3663737 - fax: +32-4-3662910 - http://ace.montefiore.ulg.ac.be/
On 07 Apr 2012, at 07:55, yuanwucai wrote:
> Hello,
> I found that there is no 'ElseIf' function, only 'If - EndIf'. How can I do something like that?
> Best regards,
>
> Cai Yuanwu 蔡园武
> Dept. of Engineering Mechanics,
> Dalian University of Technology,
> Dalian 116024, China
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20120407/d86d3341/attachment.html>