Implements several external functions: failed, ord, chr, +, -, *, success, apply.