<< Previous Suneido > Contents > LanguageNext >> 

Data Types

Unlike strongly typed languages such as C or C++, Suneido is dynamically typed, meaning its values have types, not its variables. i.e. A variable can hold any type of value and can hold different types at different times.

In Suneido, functions, blocks, classes, dlls, callbacks, and structs are first class values. You can assign them to variables, pass them to functions, and write unnamed definitions.

The basic types include:

Boolean
Number
String
Symbol
Buffer
Object

See also: Date, Function, Record


<< Previous Suneido > Contents > LanguageNext >> 
Copyright (C) 2000-2007 Suneido Software Corp. All rights reserved worldwide.