LPC Library Functions: apply

NAME

apply() - evaluate a function pointer

SYNOPSIS

.nf mixed apply(mixed f, mixed *args)

DESCRIPTION

If f is a function, f is called with the array 'args' expanded as it's arguments. For example,

apply(f, ({ 1, 2, 3 }) ) is the same as evaluate(f, 1, 2, 3);

Page design by Frank Jacquette & Tim Hollebeek
Copyright (C) 1998 Tim Hollebeek & Frank Jacquette
Back to MudOS