我是人 发表于 2013-5-22 06:47 
邱肿那么富有。。。坏了直接买台新的不就好了。
咩咩我也无聊了
- %% -*- coding: utf-8 -*-
- -module(qiuzong).
- -export([mobile/1]).
- -define(MIEMIE(STR), io:fwrite("~ts~n",[STR])).
- -define(MIEMIE_LINE, io:fwrite("~30c~n",[$*])).
- -define(ORDER_SPENT_SECONDS, 3*1000).
- mobile(broken)->
- ?MIEMIE("邱肿那么富有。。。坏了直接买台新的不就好了。"),
- ?MIEMIE_LINE,
- mobile(order_new);
- mobile(order_new)->
- ?MIEMIE("邱肿去买新手机"),
- ?MIEMIE_LINE,
- mobile(perfection);
- mobile(perfection)->
- receive
- after
- ?ORDER_SPENT_SECONDS->
- ?MIEMIE("邱肿那么富有。。。好的直接砸坏了不就好了。"),
- ?MIEMIE_LINE,
- mobile(broken)
- end;
- mobile(_)->?MIEMIE("这是神马,邱肿不懂").
复制代码 想不到居然还没忘光 |