Plange


declare a variable and optionally assign a value to it

Example

<Number> x <- 100;

Example

<> name <- "Alice"; //implicitly type String

Example

object <- {
    "employees":[
        (|"John", "Doe"|),
        (|"Anna", "Smith"|),
        (|"Peter", Jones"|)],
    "contractors":[
        (|"Matt", "Williams"|)]
};

object <- (x) { return x*2; }; //no type constraint

See: STATEMENT


This website does not use cookies or javascript, excluding the Google search bar.
copyright © Brent Lewis 2013-2018