Previous chapter To contents Next chapter

Chapter 4, Data types

In this chapter we will discuss all the different ways to store data in Pike in detail. We have seen examples of many of these, but we haven't really gone into how they work. In this chapter we will also see which operators and functions work with the different types. There are two categories of data types in Pike: basic types, and pointer types. The difference is that basic types are copied when assigned to a variable. With pointer types, merely the pointer is copied, that way you get two variables pointing to the same thing.

4.1 Basic types

4.2 Pointer types

4.3 Sharing data

4.4 Writing data types


Previous chapter To contents Next chapter