$page = @(
( # 1
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" "
),
( # 2
" z ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" "
),
( # 3
" Z i ",
" z ",
" ",
" ",
" ",
" ",
" ",
" ",
" "
),
( # 4
"G _[ mS ( = 3",
" Z i ",
" z ",
" ",
" ",
" ",
" ",
" ",
" "
),
( # 5
": pGy YQ y ] H",
"G _[ mS ( = 3",
" Z i ",
" z ",
" ",
" ",
" ",
" ",
" "
),
( # 6
"B VgU8S(E* V/ eu@",
": pGy YQ y ] H",
"G _[ mS ( = 3",
" Z i ",
" z ",
" ",
" ",
" ",
" "
),
( # 7
"b 2E;XsLT9 xP M!w",
"B VgU8S(E* V/ eu@",
": pGy YQ y ] H",
"G _[ mS ( = 3",
" Z i ",
" z ",
" ",
" ",
" "
),
( # 8
"PFRpx(Y_%| 742Oy=",
"b 2E;XsLT9 xP M!w",
"B VgU8S(E* V/ eu@",
": pGy YQ y ] H",
"G _[ mS ( = 3",
" Z i ",
" z ",
" ",
" "
),
( # 9
"WrBj*B_Q5;+87u5:p",
"PFRpx(Y_%| 742Oy=",
"b 2E;XsLT9 xP M!w",
"B VgU8S(E* V/ eu@",
": pGy YQ y ] H",
"G _[ mS ( = 3",
" Z i ",
" z ",
" "
),
( # 10
"n_k(z0q@uxV:tY|7p",
"WrBj*B_Q5;+87u5:p",
"PFRpx(Y_%| 742Oy=",
"b 2E;XsLT9 xP M!w",
"B VgU8S(E* V/ eu@",
": pGy YQ y ] H",
"G _[ mS ( = 3",
" Z i ",
" z "
),
( # 11
"=DbX=U5sUK1dO6I'P",
"n_k(z0q@uxV:tY|7p",
"WrBj*B_Q5;+87u5:p",
"PFRpx(Y_%| 742Oy=",
"b 2E;XsLT9 xP M!w",
"B VgU8S(E* V/ eu@",
": pGy YQ y ] H",
"G _[ mS ( = 3",
" Z i "
),
( # 12
"!F;p6vbv<XTRiOKNi",
"=DbX=U5sUK1dO6I'P",
"n_k(z0q@uxV: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Bj*B_Q5;+87u5:p"
)
)
$CLEAR = [char]0x1B+"[2J"+[char]0x1B+"[1;1H" # 画面をクリアする
$GREEN = [char]0x1B+"[32;40m" # 文字の色を緑/黒にする
$NORMAL = [char]0x1B+"[0m" # 文字の色を元に戻す
# すべてのページ分を繰り返す
$pages = $page.length
for ( $n = 0 ; $n -lt $pages ; $n ++ ) {
# 現在ページのデータを取り出す
$sheet = $page[$n]
# 現在ページを描画する
# Write-Output は改行を抑止できないため、描画とともに画面をクリアする。(Write-Host なら抑止できる)
Write-Output "$CLEAR-----------------$GREEN"
$cnt = $sheet.length
for ( $i = 0 ; $i -lt $cnt ; $i ++ ) {
Write-Output $sheet[$i]
}
Write-Output "$NORMAL-----------------"
# 0.2 秒間何もしない
Start-Sleep -Milliseconds 200
}
|