size: Size of a stack

Description Usage Arguments Value

Description

The function size returns the size of a stack, in bytes. The function max_size returns the maximum number of objects a stack can contains; this number can be changed with max_size<-.

Usage

1
2
3
4
5
size(.stack)

max_size(.stack)

max_size(x) <- value

Arguments

.stack

A stack.

x

A stack.

value

numeric. The new maximum size of the stack.

Value

size always returns a nonnegative numeric. max_size returns a (possibly infinite) nonnegative numeric.


flifo documentation built on May 2, 2019, 1:26 a.m.