rename
|
The rename function changes the retrieval key of an object stored in the specified
ObjectRepository {aGor}, without moving, resaving, or disturbing the stored object.
Only the retrieval key, in the ObjectRepository index is renamed. If there is already a retrieval
key with the new name, an error is returned. Usage The rename function is used to rename objects stored in an Object Repository. The
same goal can be accomplished by retrieving the stored object, erasing the old copy, and resaving
the object under the new retrieval key; but this would obviously require more time and resources
than using the rename function.
(rename aGor oldKey newKey) Returns true or an error.
Expression:
Arguments
Name
Type
Description Argument: aGor ObjectRepository
The ObjectRepository, whose index will be altered. Argument: oldKey Symbol
The retrieval key which is to be renamed. Argument: newKey Symbol
The new retrieval key.
Returns:
Here are a number of links to Lambda coding examples which contain this instruction in various use cases.
Here are the links to the data types of the function arguments.
ObjectRepository | Symbol | Boolean |
Here are also a number of links to functions having arguments with any of these data types.
Analytic Information Server (AIS)AIS Component Systems
|