kOS
0.19.3
  • Home
  • Table of Contents
  • Downloads and Links
  • Tutorials
  • Community Example Library
  • General
  • Language
    • General Features
    • Language Syntax
    • Flow Control
    • Variables
    • User Functions
    • Delegates (function references)
    • Advanced topics
    • Kinds of Delegate (no suffixes)
  • Mathematics
  • Commands
  • Structures
  • Addons
  • Contribute
  • Changes
  • About
kOS
  • Docs »
  • The KerboScript Language
  • View page source

The KerboScript LanguageΒΆ

  • General Features
    • Case Insensitivity
    • Expressions
    • Short-circuiting booleans
    • Late Typing
    • Lazy Globals (variable declarations optional)
    • User Functions
    • Structures
  • Language Syntax
    • General Rules
    • Braces (statement blocks)
    • Functions (built-in)
    • Suffixes as Functions (Methods)
    • User Functions
    • Built-In Special Variable Names
    • What does not exist (yet?)
  • Flow Control
    • BREAK
    • IF / ELSE
    • LOCK
    • UNLOCK
    • UNTIL loop
    • FOR loop
    • FROM loop
    • WAIT
    • Boolean Operators
    • DECLARE FUNCTION
    • RETURN
    • WHEN / THEN statements, and ON statements
    • PRESERVE
  • Variables
    • DECLARE .. TO/IS
    • DECLARE PARAMETER
    • SET
    • DEFINED
    • LOCK
    • TOGGLE
    • ON
    • OFF
    • Scoping terms
    • Scoping syntax
  • User Functions
    • Help for the new user - What is a Function?
    • DECLARE FUNCTION
    • Using RUN ONCE
    • DECLARE PARAMETER
    • Calling a function
    • Optional Parameters (parameter defaults)
    • LOCAL .. TO
    • RETURN
    • Passing by value
    • Nesting functions inside functions
    • Recursion
    • User Function Gotchas
  • Delegates (function references)
    • Overview
    • Why?
    • lib_enum in KSLib
  • Advanced topics
    • Pre-binding arguments with :bind
    • Anonymous functions
    • Closures
  • Kinds of Delegate (no suffixes)
Next Previous

© Copyright 2013-2016, Developed and maintained by kOS Team, Originally By Nivekk.

Built with Sphinx using a theme provided by Read the Docs.