Skip to main content

PAWN

Pawn

embedded scripting language

February 2006

ITB CompuPhase
ii

“Java” is a trademark of Sun Microsystems, Inc.

“Microsoft” and “Microsoft Windows” are registered trademarks of
Microsoft Corporation.

“Linux” is a registered trademark of Linus Torvalds.

“CompuPhase” is a registered trademark of ITB CompuPhase.

“Unicode” is a registered trademark of Unicode, Inc.

Copyright c 1997–2006, ITB CompuPhase

Eerste Industriestraat 19–21, 1401VL Bussum The Netherlands (Pays Bas) telephone: (+31)-(0)35 6939 261

e-mail: info@compuphase.com, http://www.compuphase.com

The information in this manual and the associated software are provided “as is”. There are no guarantees, explicit or implied, that the software and the manual are accurate.

Requests for corrections and additions to the manual and the software can be directed to ITB CompuPhase at the above address.

Typeset with TEX in the “Computer Modern” and “Palatino” typefaces at a base size of 11 points.


Table of contents


Foreword - Page 3-5

A tutorial introduction - Page 5-62

Data and declarations - Page 62-70

Functions - Page 70-93

The preprocessor - Page 93-97

General syntax - Page 97-104

Operators and expressions - Page 104-112

Statements - Page 112-117

Directives - Page 117-124

Proposed function library - Page 124-134

Pitfalls: differences from C - Page 134-137

Assorted tips - Page 137-148

Appendices - Page 148-183

Error and warning messages - Page 148-168

The compiler - Page 168-174

Rationale - Page 174-181

License - Page 181-183