MakeEmptyRecord (open)

Create an empty, existing record

Syntax

// Core function, no LOADLIB necessary

RECORD FUNCTION MakeEmptyRecord()

Return value

RECORD

A record without any cells

Description

MakeEmptyRecord returns an empty existing record. It is equivalent to CELL[]. The length of this record will be 0 (zero), and the function RecordExists will return true.

Examples

// Create a new empty record
RECORD newrec := MakeEmptyRecord();

// Pass a record with no cells to a calling function
RETURN MakeEmptyRecord();