Update write-big.ps1 and write-calendar.ps1

This commit is contained in:
Markus Fleschutz
2021-09-22 21:33:03 +02:00
parent dfeb7ae699
commit 71f8fdba2f
2 changed files with 36 additions and 103 deletions

View File

@ -402,9 +402,8 @@ function BigChar { param([string]$Char, [int]$Row)
}
try {
if ($Text -eq "" ) {
[String]$Text = read-host "Enter text to write"
}
if ($Text -eq "" ) { [String]$Text = read-host "Enter text to write" }
[char[]]$ArrayOfChars = $Text.ToUpper()
write-output ""
for ($Row = 1; $Row -lt 5; $Row++) {