pooq #5046(2007/12/29 12:41 GMT) [ J ] Rating0/0=0.00
副詞として定義すると引数に名詞(数値や文字)や動詞を取り、動詞 を返すものができるようです。副詞の場合、引数が1個だと左にしか 指定できないようです。 five_days_later 2007 12 31 20 0 0 2008 1 5 20 0 0 five_days_later 2008 2 27 20 0 0 2008 3 3 20 0 0 five_days_later 2007 2 27 20 0 0 2007 3 4 20 0 0 five_days_later 2000 2 27 20 0 0 2000 3 3 20 0 0 five_days_later 2037 2 27 20 0 0 2037 3 4 20 0 0 five_days_later 1700 12 31 20 0 0 1701 1 5 20 0 0 five_days_later 0 12 31 20 0 0 1 1 5 20 0 0 five_days_later _1000 12 31 20 0 0 _999 1 5 20 0 0
1 2 3
load 'dates' n_days_later=:1 :'1 tsrep (tsrep y) + 86400000 * u' five_days_later=: 5 n_days_later
Rating0/0=0.00-0+
[ reply ]
pooq
#5046()
[
J
]
Rating0/0=0.00
Rating0/0=0.00-0+
[ reply ]