FunctionPackage: net.rpcToCDocOverviewCGDocRelNotesIndexPermutedIndex
Allegro CL version 6.2
New since 6.2 release.

eval-string

Arguments: &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 was added to the Allegro CL RPC facility after the release of Allegro CL 6.2. You must have downloaded the relevant patch (you can do so with You must have downloaded the relevant patch (you can do so with update-allegro). If you have downloaded the patch, this function rpc-version will be defined and the form (rpc-version) will return (3 2 2) (version 3.2.2) or later.

This function reads the contents of the string stringand then evaluates the resulting object. 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 arguemnt 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-2002, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 6.2. This page is new in the 6.2 release.
Created 2002.2.26.

ToCDocOverviewCGDocRelNotesIndexPermutedIndex
Allegro CL version 6.2
New since 6.2 release.