1.1. Introduction to MxScript

MxScript is an interpreted language with a syntax that is similar to C. MxScript provides the following benefits:

Easy to learn

Syntax is similar to C.

Integers can contain 64 bit signed values and support all operations that C supports. There are only integer, double, bool, and string types.


Bugs in the script file do not cause a system crash.

Strings in MxScript are safer than in C because features not required for scripting have been removed. There is no use of pointers, structures, user defined functions, or arrays.


No compilation is required and fast turnarounds are possible. MxScript can be used interactively in a command-line interface.


Unlike many other scripting languages, performance was one of the main goals for MxScript.

The MxScript language can be invoked from the following initial situations:

Copyright © 2007-2011 ARM. All rights reserved.ARM DUI 0371J