MS Small Basic第九章 | 就愛喝咖啡
![MS Small Basic第九章](https://i.imgur.com/B2oemyF.jpg)
2011年8月2日—Routine在一般英文的意思是“例行公事,程式裡面的“例行公事就是program(主程式),而“在例行公事之下的–也就是主程式之下的–就是subroutine, ...
![MS Small Basic第九章](https://i.imgur.com/B2oemyF.jpg)
Routine在一般英文的意思是 “例行公事" , 程式裡面的 “例行公事" 就是 program (主程式), 而 “在例行公事" 之下的–也就是主程式之下的–就是 subroutine, 一般翻譯成 “副程式" . 主程式(program)的程式碼在程式開始時就會自動執行, 而副程式(subroutine)不會自動執行自己的程式碼, 它必須被 “呼叫" (call), 才會執行程式碼.
在程式設計時經常遇到需要重覆執行同一組步驟的情況, 在這種情況下, 一直重複寫同一段程式碼是非常腦殘的事情, 所以我們需要副程式, 每當要用到的時候只要呼叫(call)一下就可以.
今天的MS Small Basic學習以使用手冊第九章 Chapter 9: Subroutines[1] 以及初學者開發人員學習中心的線上教材 Lesson 1.5: Branching and Subroutines[2] 為學習重點. 首先先來複習一下 Branching.
As you know, the computer runs a program by reading and processing the statements line by line, one at a time. Sometimes, you may want the computer to break the flow and jump to another line of code while the program is running. You can instruct the computer to process a line of code out of sequence if you use the Goto statement.
In this program, the Task_...
routine | 就愛喝咖啡
課程名稱:程式設計 | 就愛喝咖啡
MS Small Basic第九章 | 就愛喝咖啡
Routinery: Self | 就愛喝咖啡
HabitNow Daily Routine Planner | 就愛喝咖啡
My Routine | 就愛喝咖啡
程序式程式設計 | 就愛喝咖啡
第四天Interrupt-1 - iT 邦幫忙 | 就愛喝咖啡
![](https://i.imgur.com/B2oemyF.jpg)
Routine評價:插座()很多、限時 好吃程度 0 顆星
Routine評價好嗎?這邊幫大家整理位於臺北市市民大道七段230的Routine詳細資訊,像是Wifi、安靜度、甜點、插座及網友評分:...