functions.remarkup
No OneTemporary

File Metadata

Created
Sun, Feb 15, 4:33 PM

functions.remarkup

Functions

Xreate allows to define functions with a list of zero or more parameters and sequence of a statements as a body.

SYNTAX: name = function [ (param:: type [, param:: type]... ) ] :: type; [; tag-expression ...]
{
[declaration. [ declaration.] ]
result-expression
}

NOTE: There is alse special function syntax. See prefunctions

This is an example of a simple function:

		sum = function(a:: num, b:: num):: num {
			a + b
		}

Event Timeline