RosettaCodeData/Task/Character-codes/MiniScript/character-codes.mini
2024-03-06 22:25:12 -08:00

10 lines
159 B
Text

cps = []
for c in ["a", "π", "字", "🐘"]
cp = c.code
cps.push cp
print c + " = " + cp
end for
print
for i in cps
print i + " = " + char(i)
end for