2011-07-31 :-)
_ Google Docs スプレッドシート捨てました
リッジレーサー7 ARC の得点集計を Google Docs スプレッドシートでやってたんだが、自宅を引っ越してからというものサーバーでエラーが発生しまくってまったく使い物にならなくなったので捨ててみた。
その代わりに OpenOffice ライフを満喫してみようかと思い立ったのでテキトーにググるなどしてスクリプトを置換。OpenOffice.org Basic の文法は VisualBasic 風というかまんま VBA なので VisualBasic 系統 をしゃべれる Excel プログラマーならイケる。
Function CalcPoint(rank) static points( 10 + 1 ) points( 1 ) = 25 points( 2 ) = 18 points( 3 ) = 15 points( 4 ) = 12 points( 5 ) = 10 points( 6 ) = 8 points( 7 ) = 6 points( 8 ) = 4 points( 9 ) = 2 points( 10 ) = 1 if rank >= 1 and rank <= 10 then CalcPoint = points( rank ) else CalcPoint = 0 end if End Function
ref.
[ツッコミを入れる]