Perfect Developer basic tutorial 4 This page last modified 2011-10-29 (JAC)
Classes and Methods overview

It's time to describe simple class declarations in Perfect. We'll describe class structure and class constructors, how to declare variables and invariants. We'll describe the kinds of method that can be declared. We won't be describing class destructors, because Perfect doesn't have those!

The four kinds of method are:

In this tutorial, we'll only look at functions. Later, we'll look at schemas.

To show you the main ideas, we'll explain the development of a simple Book class.

Next:  Structure of a simple class

 

Save My Place Glossary Language Reference Manual
Tutorials Overview Main site   
Copyright © 1997-2012 Escher Technologies Limited. All rights reserved. Information is subject to change without notice.