S# API documentation Download the archived PDF Table of contents Introduction About S# Downloads What's New The S# language Comments Data types Type conversion Constants Arrays Variables Expressions Statements Functions The IInvokable interface Reserved Functions Property bags IScriptable interface Implementing objects Event handling Context bound events Generic parameters Script context Script Scope Global and local variables Merging Global and Local Scopes Scopes by example .NET Integration Examples of scripts Bubble Sort Quick Sort Using Scope Vector objects Loops Generic List Code Objects Operators Arithmetic Expressions Recursion Fibonacci Numbers Factorial GCD Tutorial Tutorial 1. Getting started Tutorial 2. Creating custom function Tutorial 3. Passing objects between script and host API Reference next page