State

LSL and OSSL feature states which scripts can define in many ways, switching back and forth between them using the state directive (example: state default;). States are defined using the keyword state (Example: state foo {...}) with the exception of the...

String

A string is a sequence of characters limited in length only by available memory. Strings are enclosed in quotation marks (“). LSL uses UTF-8 for its encoding standard for strings. Example: string foo = "bar"; // this defines a string named "foo", containing the...