Improve list-tiobe-index.ps1

This commit is contained in:
Markus Fleschutz 2021-06-27 11:40:47 +02:00
parent 591fc1a1f2
commit 0b10d85819

View File

@ -6,7 +6,7 @@
#> #>
function WriteBar { param([string]$Text, [float]$Value, [float]$Max, [float]$Change) function WriteBar { param([string]$Text, [float]$Value, [float]$Max, [float]$Change)
$Num = ($Value * 70.0) / $Max $Num = ($Value * 100.0) / $Max
while ($Num -ge 1.0) { while ($Num -ge 1.0) {
write-host -noNewLine "" write-host -noNewLine ""
$Num -= 1.0 $Num -= 1.0
@ -36,6 +36,7 @@ function WriteBar { param([string]$Text, [float]$Value, [float]$Max, [float]$Cha
try { try {
& write-big.ps1 "TIOBE INDEX 2021-06" & write-big.ps1 "TIOBE INDEX 2021-06"
" Source: https://www.tiobe.com"
"" ""
$Table = import-csv "$PSScriptRoot/../Data/TIOBE-index.csv" $Table = import-csv "$PSScriptRoot/../Data/TIOBE-index.csv"