This is the documentation for the development version. There are no official binaries for it; build it from the source code in git. Download links on these pages work only after the release. For the current release, see version 7.0.

ord

ord(character): int

Convert a character into it’s ASCII/Unicode value.

Only processes one character.

+ .Parameters

character

String

Character

+ .Return An ASCII/Unicode value

println(ord("a")); //Will print 97
println(ord("abc")); //Will print 97