Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
10
Task/Show-ASCII-table/Zkl/show-ascii-table.zkl
Normal file
10
Task/Show-ASCII-table/Zkl/show-ascii-table.zkl
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
const width=9;
|
||||
println(" ",[0..width].pump(String,"%4d".fmt));
|
||||
[30..127].pump("".println,T(Void.Read,width,False), // don't fail on short lines
|
||||
fcn(a,b,c){
|
||||
String("%3d: ".fmt(a),
|
||||
vm.arglist.pump(String,"toChar", // parameters (ints) to list to text
|
||||
T("replace","\x1e",""),T("replace","\x1f",""), // 30,31
|
||||
T("replace"," ","spc"),T("replace","\x7f","del"), "%-4s".fmt)
|
||||
)
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue