98/02/15 利用 Name ... As 敘述移動檔案及資料夾。
第 8 章所介紹的 Name ... As 敘述通常用來變更檔案的名稱, 例如:

    Name "c:\temp\temp1.txt" As "c:\temp\tempa.txt"
    ' 將 c:\temp 資料夾的 temp1.txt 變更成為 tempa.txt

但此一敘述也可以用來移動檔案或資料夾, 例如:

    Name "c:\temp\temp1.txt" As "c:\temp2\temp1.txt"
    ' 將 c:\temp 資料夾的 temp1.txt 移到 c:\temp2

    Name "c:\temp\資料夾A" As "c:\temp2\資料夾B"
    ' 將 c:\temp 資料夾的「資料夾A」資料夾移到 c:\temp2, 並且更名為「資料夾B」

如果 As 之後的資料夾位於另一個磁碟, 則 Name ... As 的作用是移動檔案, 例如:

    Name "c:\temp\temp1.txt" As "d:\temp\temp1.txt"
    ' 將 c:\temp 資料夾的 temp1.txt 複製到 d:\temp, 並且刪除原檔案


97/09/17 MsFlexGrid 的 TextMatrix 屬 性 。
本 書 在 p.506 介 紹 MsFlexGrid 控 制 元 件 時 , 均 利 用 以 下 方 法 設 定 儲 存 格 的 內 容 : (假 設 將 儲 存 格 (2, 1) 的 內 容 設 定 為 "文字內容")

    MsFlexGrid1.Row = 2 : MsFlexGrid1.Col = 1
    MsFlexGrid1.Text = "文字內容"

但 實 際 上 使 用 TextMatrix 屬 性 來 設 定 則 更 簡 便 , 如 下 :

    MsFlexGrid1.TextMatrix(2, 1) = "文字內容"

使 用 TextMatrix 屬 性 來 設 定 儲 存 格 的 內 容 還 有 一 個 好 處 , 那 就 是 它 不 會 改 變 「 目 前 儲 存 格 」 的 位 置 。