Advanced Symbolic Instruction Language Wiki
A 21st century programming language derived from BASIC
Status: Planning
Brought to you by:
willpittenger
A function is a basically a command that returns a value. It may or may not change something in some manner. Each function must have a returns clause. Use the return keyword to return the value. See the section on [Functions] for more information.
\function\ identifier [OptionalDeclarationSequence] \returns\ TypeName ' Whatever the function does should be here \return\ SomeValue
For more on declaration sequences, see Declaration sequence.
Wiki: Attributes
Wiki: Delegates
Wiki: Functions
Wiki: Keywords
Wiki: When is it a procedure, command, function, property, property accessor, method, complex statement, or type cast?
Wiki: keywords-constructor
Wiki: keywords-final
Wiki: keywords-return
Wiki: keywords-returns