apply.3

tmi2_fluffos_v2/lib/doc/driverdoc/efuns/functions/apply.3 · 363 B

From the archive tmi2_fluffos_v2.zip

Download the archive   « Back to the archive contents

.\"evaluate a function pointer
.TH apply 3 "5 Sep 1994" MudOS "LPC Library Functions"

.SH NAME
apply() - evaluate a function pointer

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

.SH 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);

Site Stats

Snippets: 1791
Codebases: 571