「浪語」:修訂間差異

跳至導覽 跳至搜尋
無編輯摘要
標籤2017 原始碼編輯
無編輯摘要
標籤2017 原始碼編輯
第143行: 第143行:
<syntaxhighlight lang="javascript" line="1">
<syntaxhighlight lang="javascript" line="1">
state welcome {
state welcome {
    drrr.print("hello world");
    print("hello world");
    going bye
    going bye
}
}


state bye {
state bye {
    drrr.print("bye");
    print("bye");
    // done.
    // done.
}
}
第157行: 第157行:
<syntaxhighlight lang="javascript" line="1">
<syntaxhighlight lang="javascript" line="1">
state welcome {
state welcome {
    drrr.print("hello world");
    print("hello world");
    going bye
    going bye
}
}


state bye {
state bye {
    drrr.print("bye");
    print("bye");
    // because "visit welcome", so back to visit
    // because "visit welcome", so back to visit
}
}