docs.roxen.comView this page in a printer friendly mode
DocsPike7.0Tutorial
Copyright © 2001, Roxen Internet Software
Suggestions, comments & compliments
manuals@roxen.com
 DEMO  DOCS  PIKE
 COMMUNITY  DOWNLOAD
www.roxen.com

     


Tutorial

Introduction

What Does Pike Look Like?
Pike and Some Other Languages
Reading this Tutorial
First Steps

Your Very First Pike Program
I Want My Greeting in a Window!
Interactive Pike
Fundamental Concepts

Terminology / Glossary
Your Second Pike Program

The Bare Bones
Running the Program
Command-line Arguments and if
Methods and Loops
Magic Web Stuff
Syntactic Sugar
Showing the Page
Some Notes About WWW
An Introduction to Data Types

What is a data type?
Basic Types
Container Types
Object, Program and Function
Variable Definitions
Basic Types and Reference Types
Methods

Methods: an Introduction
Calling a method
More Advanced Examples
Object-Oriented Programming

Object Orientation in General
Object Orientation in Pike
Creating and Using Objects
How to Create a Class
Classes as Record Types
Programs are Classes and Vice Versa
Inheritance
Multiple Inheritance
Access control
Statements

Choosing between Alternatives
Repetition (or "Loops")
The Other Statement Types
More About Data Types

The Basic Types
Container Types
The Other Reference Types
Working with Strings

Operators on Strings
Built-in Functions for Strings
Composing Strings with sprintf
Analyzing Strings with sscanf
Wide Strings
Expressions

Some Terminology
Arithmetical Operations
Operations on Complex Types
Comparison
Logical Expressions
Bitwise Operations
Operations on Sets
Indexing
Assignment
Type Conversions
The Comma Operator
Call and Splice
Operator Precedence and Associativity
The Preprocessor

Preprocessor Directives
Modules

Some Examples of Modules
How Do You Use a Module?
How Do You Create a Module?
How Does Pike Find the Modules?
Errors and Error Handling

Error Messages from Pike
Error Handling: the Concept
Detecting an Error
Handling the Error
Error Codes
catch and throw
Not Covered Here

Uncharted Terrain