RosettaCodeData/Task/Character-codes/F-Sharp/character-codes.fs

5 lines
66 B
Forth

let c = 'A'
let n = 65
printfn "%d" (int c)
printfn "%c" (char n)