From 737dc6f15e165a00e5dcb8280428ca5e9448eb7e Mon Sep 17 00:00:00 2001 From: twanvl Date: Sat, 28 Jun 2008 15:03:27 +0000 Subject: [PATCH] docuemntation: + also concatenates lists git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1009 0fc631ac-6414-0410-93d0-97cfa31319b6 --- doc/script/operators.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/script/operators.txt b/doc/script/operators.txt index bac3bf41..30f79887 100644 --- a/doc/script/operators.txt +++ b/doc/script/operators.txt @@ -15,9 +15,10 @@ MSE script supports most basic mathamatical operators: | @-a@ @-(3 + 2) == -5@ Negate a number (make it negative if positive and vice versa) ===The + operator=== -The @+@ operator has three functions +The @+@ operator has four functions * It adds [[type:int]]s (also [[type:double]]s), @1+1 == 2@ * It concatenates strings, @"1" + "1" == "11"@ +* It concatenates lists, @[1] + [1] == [1,1]@ * It composes [[type:function]]s @(f + g) () == g( input: f() )@ --Comparison--