Data Type

In this chapter we will introduce the different structures that can be used to represent and store data. In Shang a piece of data is anything that can be assigned to a variable. In particular, a function or a class is just like a number or a string, and can be stored in a variable. Therefore by data we refer to both static information such as numbers, matrices, and character strings, as well as functions, classes, and running programs.



Subsections

oz 2009-12-22