SHIP:Sail Overview

From Serious Documentation
Revision as of 09:27, 25 November 2012 by Admin (talk | contribs) (if/else)
Jump to: navigation, search

SHIP Sail is the built-in scripting language and virtual machine environment within a SHIP GUI.

Sail is very similar to C and Java; even the casual programmer will find Sail quite familiar and easy to use. Sail is constructed to implement short snippets of activities, or "event handlers". When an event happens in SHIPEngine, a listener wakes up and optionally "runs" the associated Sail script.

Data Types

See SHIP Data Types for a complete description.

Language Elements

Conditionals

? :

if/else

switch/case

switch/case

Comparisons

Operators

Built-in Functions

Names and Properties

Name Syntax

Reserved Words

Name Scope

Relative References