Kaya 0.5.3 reference for Builtins::Invalid_Value

List of functions and data types in Builtins

Builtins::Invalid_Value()

Usage

This Exception is usually thrown when operations are carried out on an uninitialised value, for example:

xs = [];
xs[0] = "Hello";
if (xs[0] == xs[300]) {
    // Invalid_Value thrown
}

It may also be thrown by unmarshal if the marshalled String is corrupt.

kaya@kayalang.org | Last modified 29 November 2011 | Supported by Durham CompSoc | Powered by Kaya