Difference between revisions of "SHIP:Sail Overview"

From Serious Documentation
Jump to: navigation, search
(Language Elements)
Line 6: Line 6:
  
 
See [[SHIP:Data_Types|SHIP Data Types]] for a complete description.
 
See [[SHIP:Data_Types|SHIP Data Types]] for a complete description.
 +
 +
== Names and Properties ==
 +
=== Name Syntax ===
 +
=== Reserved Words ===
 +
=== Name Scope ===
 +
=== Relative References ===
  
 
== Language Elements ==
 
== Language Elements ==
Line 21: Line 27:
  
 
== Built-in Functions ==
 
== Built-in Functions ==
 
== Names and Properties ==
 
=== Name Syntax ===
 
=== Reserved Words ===
 
=== Name Scope ===
 
=== Relative References ===
 

Revision as of 09:28, 25 November 2012

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.

Names and Properties

Name Syntax

Reserved Words

Name Scope

Relative References

Language Elements

Conditionals

? :

if/else

switch/case

Comparisons

Operators

Built-in Functions