Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
5
Task/Show-ASCII-table/Standard-ML/show-ascii-table.ml
Normal file
5
Task/Show-ASCII-table/Standard-ML/show-ascii-table.ml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
fun Table n 127 = " 127: 'DEL'\n"
|
||||
| Table 0 x = "\n" ^ (Table 10 x)
|
||||
| Table n x = (StringCvt.padLeft #" " 4 (Int.toString x)) ^ ": '" ^ (str (chr x)) ^ "' " ^ ( Table (n-1) (x+1)) ;
|
||||
|
||||
print (Table 10 32) ;
|
||||
Loading…
Add table
Add a link
Reference in a new issue