
Fundamentals of NewtonScript
A Brief Overview of NewtonScript
NewtonScript has a full range of features:
- Frames
- These are unordered structures, somewhat similar to Pascal records or C structs.
- Arrays
- Ordered data structures, like arrays elsewhere.
- Built-in Functions
- Standard string, real, array, frame, and integer functions.
- Symbols
- Variable names--available at run time.
- Basic Types
- Integers, booleans, and characters.
- Complex Types
- Reals, arrays, frames, and strings.
- Operators
- All the standard ones.
- Conditional Statements
-
if
then
, if
then
else
.
- Looping Statements
-
loop
, for
, while
, repeat
, and some new ones.
We will cover each of these in detail, starting with frames and then moving down the list.
An online version of Programming for the Newton using Macintosh, 2nd ed. ©1996, 1994, Julie McKeehan and Neil Rhodes.
Last modified: 1 DEC 1996