Movatterモバイル変換


[0]ホーム

URL:


[LISPWORKS][Common Lisp HyperSpec (TM)][Previous][Up][Next]


Special OperatorMULTIPLE-VALUE-PROG1

Syntax:

multiple-value-prog1first-formform* =>first-form-results

Arguments and Values:

first-form---aform; evaluated as described below.

form---aform; evaluated as described below.

first-form-results---thevalues resulting from theevaluation offirst-form.

Description:

multiple-value-prog1 evaluatesfirst-form and saves all the values produced by thatform. It then evaluates eachform from left to right, discarding their values.

Examples:

 (setq temp '(1 2 3)) =>  (1 2 3) (multiple-value-prog1    (values-list temp)    (setq temp nil)    (values-list temp)) =>  1, 2, 3

Side Effects: None.

Affected By: None.

Exceptional Situations: None.

See Also:

prog1

Notes: None.


[Starting Points][Contents][Index][Symbols][Glossary][Issues]
Copyright 1996-2005, LispWorks Ltd. All rights reserved.


[8]ページ先頭

©2009-2025 Movatter.jp