code

func code(c : Character) -> Integer
  return index([c], [`\0'..`\255']) - 1

Returns the integer value corresponding to the given character, using the 8-bit ASCII code. For example:
  code(`A') = 65
  code(`\lf') = 10

Herman Venter

This is Slim documentation as snarfed on 27 May 1999 by dB.