From 1c167e67f2d440f0b735e65f519efae71e6d9cf8 Mon Sep 17 00:00:00 2001 From: Henrik Wallin <hedda@lysator.liu.se> Date: Tue, 26 Sep 2000 04:45:21 +0200 Subject: [PATCH] array * float added string * float added Rev: tutorial/tutorial.wmml:1.208 --- tutorial/tutorial.wmml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tutorial/tutorial.wmml b/tutorial/tutorial.wmml index 0643a848c2..11b018f54d 100644 --- a/tutorial/tutorial.wmml +++ b/tutorial/tutorial.wmml @@ -2488,10 +2488,18 @@ the complete list of combinations of types you can use with these operators: <td><tt><i>string</i> * <i>int</i></tt></td><td>string</td><td>This operation will concatenate the string N times. Example: <tt>"foo"*3</tt> will return <tt>"foofoofoo"</tt>.</td> </tr> +<tr> +<td><tt><i>string</i> * <i>float</i></tt></td><td>string</td><td>This operation will concatenate the string X times. Example: <tt>"foo"*2.5</tt> will return <tt>"foofoofo"</tt>.</td> +</tr> + <tr> <td><tt><i>array</i> * <i>int</i></tt></td><td>string</td><td>This operation will concatenate the array N times. Example: <tt>({"foo"})*3</tt> will return <tt>({"foo","foo","foo"})</tt>.</td> </tr> +<tr> +<td><tt><i>array</i> * <i>float</i></tt></td><td>string</td><td>This operation will concatenate the array X times. Example: <tt>({1,2,3})*2.5</tt> will return <tt>({1,2,3,1,2,3,1,2})</tt>.</td> +</tr> + <tr> <td><tt><i>int</i> / <i>int</i></tt></td><td>int</td><td>The right integer divided by the left integer rounded towards minus infinity.</td> </tr> -- GitLab