- This wiki is out of date, use the continuation of this wiki instead
Function example
From FenixWiki
(Difference between revisions)
| Revision as of 00:24, 24 July 2007 (edit) Sandman (Talk | contribs) ← Previous diff |
Current revision (22:31, 12 September 2007) (edit) (undo) Sandman (Talk | contribs) m |
||
| (3 intermediate revisions not shown.) | |||
| Line 1: | Line 1: | ||
| - | [[Category:functions]] | + | [[:Category:functions]]<!--Remove the :--> |
| ==Definition== | ==Definition== | ||
| - | '''INT''' | + | '''INT''' example_function ( <'''INT''' example_int> , <'''WORD''' example_word> , [<'''STRING''' example_string>] ) |
| Does something. | Does something. | ||
| Line 30: | Line 30: | ||
| Program example; | Program example; | ||
| Begin | Begin | ||
| - | | + | Repeat |
| frame; | frame; | ||
| - | | + | Until(key(_ESC)) |
| End | End | ||
| </pre> | </pre> | ||
| Used in example: | Used in example: | ||
Current revision
Contents |
Definition
INT example_function ( <INT example_int> , <WORD example_word> , [<STRING example_string>] )
Does something.
Here goes a more detailed story about the function.
Parameters
| INT example_int | - Something about this int. |
| WORD example_word | - Something about this word. |
| [STRING example_string] | - Something about this optional string. |
Returns
INT : Some int.
Errors
List all errors which could be thrown by use of this function.
Notes
Here are some notes, which explains some parts in more depth.
Example
Program example;
Begin
Repeat
frame;
Until(key(_ESC))
End
Used in example:
