greenServeFE logogreenServeFELanguage, VM and Native Module Reference

Documentation home / Language Reference

Language Reference

GSVE Core Built-in Functions

Reference for print, show, interact, len, str, num, type, range, collection helpers, cloning, merging and class helpers.

Output and interactive input

define name = interact("Your name? ");
print("Hello, " + name);

Type and conversion

Built-inBehavior
len(value)Length of a string, array or object; otherwise zero.
str(value)Converts a value to its string representation.
num(value)Converts through the runtime numeric conversion helper.
type(value)Returns runtime category: null, number, bool, string, array, object, function or iterator.

Sequences and collections

Object and class helpers