Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
11
Task/Show-ASCII-table/Tcl/show-ascii-table.tcl
Normal file
11
Task/Show-ASCII-table/Tcl/show-ascii-table.tcl
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
for {set i 0} {$i < 16} {incr i} {
|
||||
for {set j $i} {$j < 128} {incr j 16} {
|
||||
if {$j <= 31} {
|
||||
continue ;# don't show values 0 - 31
|
||||
} elseif {$j == 32} { set x "SP"
|
||||
} elseif {$j == 127} { set x "DEL"
|
||||
} else { set x [format %c $j] }
|
||||
puts -nonewline [format "%3d: %-5s" $j $x]
|
||||
}
|
||||
puts ""
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue