Function

Declares a new function with optional parameters and return type

Keywords

Parameters & Returns

Parameters

This function takes no parameters.

Returns

Void

Quick Summary

Declares a new function with optional parameters and return type

Technical Exegesis...

Declares a new function with optional parameters and return type. Syntax is Function Name(param1:Type, param2:Type):ReturnType. Functions can accept parameters, perform operations, and return values. The return type is optional and defaults to Int if not specified. Must be closed with EndFunction. Functions create reusable blocks of code.

Example

Example.bam
; No example implemented yet