Improved documentation of functions and default arguments a bit

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@985 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2008-06-18 18:56:29 +00:00
parent 9fd097beb7
commit 1d4a3c700b
7 changed files with 96 additions and 57 deletions
+2
View File
@@ -6,6 +6,8 @@ The [[script:index|scripting language]] allows you to define custom functions.
--Syntax--
A piece of code enclosed in curly braces defines a function.
A function can be called using parentheses, for example @function(argument:value)@.
--Composition--
Functions can be composed using the @+@ operator, evaluating @a + b@ first evaluates @a@ and uses its result as @input@ for @b@:
> example := to_upper + { "result == {input}" }