<delect id="sj01t"></delect>
  1. <em id="sj01t"><label id="sj01t"></label></em>
  2. <div id="sj01t"></div>
    1. <em id="sj01t"></em>

            <div id="sj01t"></div>

            VB編程:使用Debug.Print調試

            時間:2020-10-28 19:21:56 筆試經驗 我要投稿

            VB編程:使用Debug.Print調試

              盡量使用Debug.Print進行調試
              在很多初學者的調試中,用MsgBox來跟蹤變量值.其實用Debug.Print不僅可以達到同樣的功效,而且在程序最后編譯過程中,會被忽略.而MsgBox必須手動注釋或刪除.
              通常:
              MsgBox nName
              應該:
              Debug.Print nName


             在重復對某一對象的屬性進行修改時,盡量使用With....End With
              通常:
              Form1.Height = 5000
              Form1.Width = 6000
              Form1.Caption = "This is MyLabel"
              應該:
              With Form1
              .Height = 5000
              .Width = 6000
              .Caption = "This is MyLabel"
              End With
              這種結構程序執行效率比較高,特別在循環語句里。
             

            【VB編程:使用Debug.Print調試】相關文章:

            關于異步JavaScript編程中的Promise使用方法11-14

            舞臺音響調試10-13

            音響調試技巧09-21

            音響調試常識10-23

            php異步調試和線上調試網站程序11-12

            配置 PHP 調試環境11-14

            探索結對編程08-20

            路由器調試方法11-11

            如何調試javascript腳本呢11-22

            關于Shell腳本調試技術10-08

            <delect id="sj01t"></delect>
            1. <em id="sj01t"><label id="sj01t"></label></em>
            2. <div id="sj01t"></div>
              1. <em id="sj01t"></em>

                      <div id="sj01t"></div>
                      黄色视频在线观看