| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version |
Arguments: string &optional (eof-error-p t)eof-value &key (start 0) end preserve-whitespace (read-error-p t) read-error-value (eval-error-p t) eval-error-value
This function reads the contents of the string string and then evaluates the resulting object. It returns the result(s) of the evaluation. This function is useful when making complex remote calls.
The arguments eof-error-p, eof-value, start, end, and preserve-whitespace are passed to read-from-string and control the values returned from read-from-string.
If read-from-string
returns a value, it is passed to eval. If read-from-string signals an error, then the
behavior is controlled by the read-error-p
argument. If the value is non-nil
(the
default), then the same error is signaled from eval-string. If the
value is nil
, then the value of the
read-error-value argument is passed to eval.
If the call to eval returns
values, those values are returned from eval-string. If the call to eval signals an error, then the
behavior is controlled by the eval-error-p
argument. If the value is non-nil
(the
default), then the same error is signaled from eval-string. If the value is nil
, then the value of the
eval-error-value argument is returned as the
single value of eval-string.
See also rpc.htm for general information on the Remote Procedure Call utility in Allegro CL.
Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version |