Difference between revisions of "Function syntax"

191 bytes added ,  16:45, 5 December 2010
Italicised "reference" to match current function syntax and added information about how parameter values are displayed
imported>Qazaaq
(starting this)
 
imported>Cipscis
(Italicised "reference" to match current function syntax and added information about how parameter values are displayed)
 
Line 2: Line 2:


==Syntax==
==Syntax==
  (return value) reference.function arguments
  (return value) ''[reference]''.function arguments


===Return value===
===Return value===
Line 18: Line 18:
===Arguments===
===Arguments===
Arguments are additional information for a function. Some are required, others are optional. All optional arguments are in italics.
Arguments are additional information for a function. Some are required, others are optional. All optional arguments are in italics.
If an argument can only accept certain values, they will be displayed after the variable in curly brackets.  If the argument has a default value, it may also be displayed in this way.


===Names and types===
===Names and types===
Anonymous user