- 1
- 0
- 约2.73千字
- 约 15页
- 2017-02-14 发布于湖北
- 举报
计算机语言(大一,第二学期)
計算機語言 (大一, 第二学期) 福島康裕 助理教授, 環境系統工程研究室 email: fuku@mail.ncku.edu.tw, ext. 65838 Function Many useful functions are already there Why functions? Because it is convenient!! do not need to input all the equations can use same functions many times if those are useful What to do if there is no function you want to use? Example: Create a user-defined function Create function that calculates: n! = n × (n-1) × (n-2) ×… × 2 × 1 1) Open Visual basic editor 2) Create a new “Module” 3) Describe your function using VBA (Visual Basic for Application) 4) Mission complete!! Function name and Arguments F
原创力文档

文档评论(0)