Learn R Programming

flifo (version 0.1.5)

max_length: Maximum length of a stack

Description

The function max_length returns the maximum number of objects a stack can contains; this number can be changed with max_length<-.

Usage

max_length(.stack)

max_length(x) <- value

Arguments

.stack, x

A stack.

value

numeric. The new maximum length of the stack.

Value

max_length returns a (possibly infinite) nonnegative numeric.