代码之家  ›  专栏  ›  技术社区  ›  Aivan Monceller

dwoo语法中的switch case

  •  3
  • Aivan Monceller  · 技术社区  · 15 年前

    如何使用dwoo模板引擎来实现交换用例语法。

    1 回复  |  直到 15 年前
        1
  •  0
  •   David Morrow    15 年前
    {if 3 == 5}
      never gonna happen
    {elseif 3 == 3}
      if you don't see this, the world is coming to its end
    {else}
      this will never happen, unless, as previously mentionned, the world is coming to its end
    {/if}
    

    http://wiki.dwoo.org/index.php/If