fn: size
[contents]

Contents

Syntax

The syntax for size calls is:

f++:  
size(param)

n++:  
@size(param)

Description

The size function takes a single parameter and returns its length/size.

f++ example

Example of size being used with f++:

:=(string, str="hello, world!")
console(size(str))

n++ example

Example of size being used with n++:

@:=(string, str="hello, world!")
@console(@size(str))