Documentation for NS2.0:DEFINE-SCRIPT



SCRIPT:DEFINE-SCRIPT [macro]: (NAME (LANGUAGE) &KEY DOCUMENTATION LOCATION DISPLAYS-CONTENT CHARSET CALLER SCRIPT URL)
Defines a script named NAME in the scripting language, LANGUAGE.

LANGUAGE is a keyword noting the scripting language and version.

DISPLAYS-CONTENT is a boolean indicating whether the script display content when read by the
browser.

LOCATION is URI from where the script may be loaded by the browser. URL (deprecated) is the ns2.0
name for this argument.

CHARSET is the character encoding of the script text (see ISO 10646).

CALLER defines a method to write a textual call to the script to a stream.  CALLER takes the
arguments: ((SCRIPT STREAM &rest lambda-list) &body body).

SCRIPT defines a method to write a textual version of the script to a stream.  SCRIPT takes the
arguments: ((SCRIPT STREAM &rest lambda-list) &body body)

A short argument form for both SCRIPT and CALLER accepts a constant string.

The following generic functions are generally useful: DECLARE-SCRIPT, EVENT-CALLER, EXPORT-SCRIPT,
INTERN-SCRIPT, WRITE-SCRIPT.

CL-HTTP/70.216 (LispWorks; 2.1.7)