---
title: "PAWN | open.mp"
description: "Pawn"
canonical: https://omp.itsneufox.com/docs/scripting/language/reference/Contents
language: en
---

# PAWN

![Pawn](https://i.ibb.co/SRbRt3C/pawn-icon-daddy-DOT-small.png)

### 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](mailto:info@compuphase.com), [http://www.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](https://omp.itsneufox.com/docs/scripting/language/reference/Foreword) - Page 3-5

[A tutorial introduction](https://omp.itsneufox.com/docs/scripting/language/reference/A-tutorial-introduction) - Page 5-62

[Data and declarations](https://omp.itsneufox.com/docs/scripting/language/reference/Data-and-declarations) - Page 62-70

[Functions](https://omp.itsneufox.com/docs/scripting/language/reference/Functions) - Page 70-93

[The preprocessor](https://omp.itsneufox.com/docs/scripting/language/reference/The-preprocessor) - Page 93-97

[General syntax](https://omp.itsneufox.com/docs/scripting/language/reference/General-syntax) - Page 97-104

[Operators and expressions](https://omp.itsneufox.com/docs/scripting/language/reference/Operators-and-expressions) - Page 104-112

[Statements](https://omp.itsneufox.com/docs/scripting/language/reference/Statements) - Page 112-117

[Directives](https://omp.itsneufox.com/docs/scripting/language/reference/Directives) - Page 117-124

[Proposed function library](https://omp.itsneufox.com/docs/scripting/language/reference/Proposed-function-library) - Page 124-134

[Pitfalls: differences from C](https://omp.itsneufox.com/docs/scripting/language/reference/Pitfalls-differences-from-C) - Page 134-137

[Assorted tips](https://omp.itsneufox.com/docs/scripting/language/reference/Assorted-tips) - Page 137-148

[Appendices](https://omp.itsneufox.com/docs/scripting/language/reference/Appendices) - Page 148-183

∟ [Error and warning messages](https://omp.itsneufox.com/docs/scripting/language/reference/Appendices#error-and-warning-messages) - Page 148-168

∟ [The compiler](https://omp.itsneufox.com/docs/scripting/language/reference/Appendices#the-compiler) - Page 168-174

∟ [Rationale](https://omp.itsneufox.com/docs/scripting/language/reference/Appendices#rationale) - Page 174-181

∟ [License](https://omp.itsneufox.com/docs/scripting/language/reference/Appendices#license) - Page 181-183
