Page 41 - ePB316_最佳案例 Visual Basic 2017 程式設計
P. 41
Chapter 03 │基本輸出入
Chapter
03 基本輸出入
፩̈ၾ፩ɝ݊ᅠᄳόٙୋɓӉdɰ݊הϞႧԊٙୋɓӉd͉у݊ʧୗ VB
ٙਿ͉፩̈ɝf
3-1cConsole ᗳй
Console ᗳйٙʱ˙جϓࡰdνɨྡהͪdஷ੬Դ͜ί˴છ̨Ꮠ͜όٙ፩ɝ
ၾ፩̈f͟ே݊ʮ͜˙جdνɨྡٙɽᄳ SShareddה˸ே݊Դ͜ᗳй . ϓࡰ
π՟வԬ˙جf͉ఊʩਗ਼ʧୗ WriteeWriteLineeRead ˸ʿ ReadLine ഃ̬ࡈ੬͜
˙جf
Τ၈ ࠑ
Beep() ீཀ˴છ̨ఆ̪ᅧ׳ྟᑊf
˸ܸ֛ʘ᎖ଟձܵᚃಂගீཀ˴છ̨
Beep(Int32, Int32)
ఆ̪ᅧ׳ྟᑊf
ৰ˴છ̨ᇠላਜʿ̍ўᜑͪ༟ৃٙ
Clear()
࿁Ꮠ˴છ̨ൖf
MoveBufferArea(Int32, Int32, Int32, Int32, Int32, ਗ਼ፃ࿇ᇠላਜܸ֛ٙʘԸ๕ਜਹልႡ
Int32) Ցܸ֛ʘͦᅺਜਹʕf
MoveBufferArea(Int32, Int32, Int32, Int32, Int32, ਗ਼ፃ࿇ᇠላਜܸ֛ٙʘԸ๕ਜਹልႡ
Int32, Char, ConsoleColor, ConsoleColor) Ցܸ֛ʘͦᅺਜਹʕf
33