Difference between revisions of "SHIP:Sail Overview"

From Serious Documentation
Jump to: navigation, search
(Built-in Functions)
(Built-in Functions)
Line 29: Line 29:
 
* [[SHIP:Sail:getChild|getChild]]
 
* [[SHIP:Sail:getChild|getChild]]
 
* [[SHIP:Sail:getChildCount|getChildCount]]
 
* [[SHIP:Sail:getChildCount|getChildCount]]
* [[SHIP:Sail:tostring|tostring]]
+
* [[SHIP:Sail:toString|toString]]

Revision as of 06:08, 5 December 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