AniAdd: Difference between revisions

Jump to navigation Jump to search
14 bytes added ,  21 September 2009
Line 84: Line 84:
   AnotherVar := YetAnother := "Another Expression list"
   AnotherVar := YetAnother := "Another Expression list"


Not yet public
'''Not yet public:'''<br />
It is also possible to create functions:
It is also possible to create functions:
To create a function instead of a variable, the variablename is followed by <tt>'()'</tt>.
To create a function instead of a variable, the variable name is followed by <tt>'()'</tt>.
The parenthesis my contain parameters seperated by a comma (same naming conventions as variablename applies).
The parenthesis my contain parameters separated by a comma (same naming conventions as variable name applies).
The parameters are only accessible within the function and don't change the 'main' variables in any way.
The parameters are only accessible within the function and don't change the 'main' variables in any way.


Line 94: Line 94:
   AnotherFunc(a, b) := %a% %b%
   AnotherFunc(a, b) := %a% %b%
To use the new defined function see Function construct
To use the new defined function see Function construct


==== Condition ====
==== Condition ====
227

edits

Navigation menu

MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.