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

5 lines
66 B
Forth
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
let c = 'A'
let n = 65
printfn "%d" (int c)
printfn "%c" (char n)