mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
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:
@@ -5,7 +5,9 @@ MSE uses a custom scripting language to add complicated behaviour to [[type:fiel
|
||||
--Topics--
|
||||
* [[script:introduction|Introduction to scripting]]
|
||||
* [[script:Operators]]
|
||||
* [[script:variables|Variables and functions]]
|
||||
* [[script:variables|Variables]]
|
||||
* [[script:functions|Functions]]
|
||||
* [[script:default_arguments|Default arguments]]
|
||||
* [[script:Control structures]]
|
||||
* [[script:Predefined variables]]
|
||||
* [[script:Best practices]]
|
||||
@@ -18,10 +20,10 @@ See also:
|
||||
| @"stuff"@ [[type:string|A literal string]]
|
||||
| @[a,b,c]@ [[type:list|A literal list]]
|
||||
| @[a:b, c:d]@ [[type:map|A literal map]]
|
||||
| @{ expr }@ [[script:variables#Functions|Function definition]]
|
||||
| @fun(a:b, c:d)@ [[script:variables#Functions|Function call]]
|
||||
| @fun(value)@ [[script:variables#Functions|Function call with '@input@' argument]]
|
||||
| @fun@@(a:b)@ [[script:variables#Default arguments|Default arguments]]
|
||||
| @{ expr }@ [[script:functions|Function definition]]
|
||||
| @fun(a:b, c:d)@ [[script:functions|Function call]]
|
||||
| @fun(value)@ [[script:functions|Function call with '@input@' argument]]
|
||||
| @fun@@(a:b)@ [[script:default_arguments|Default arguments]]
|
||||
| @a.b@ [[script:operators|Property 'b' of 'a']]
|
||||
| @a[b]@ [[script:operators|Property 'value of b' of 'a']]
|
||||
| @-a@ [[script:operators|Negation]]
|
||||
|
||||
Reference in New Issue
Block a user