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++:

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

n++ example

Example of size being used with n++:

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