Customizing the metamodel > Keywords for USRPROPS > COPYSCRIPT
  
COPYSCRIPT
The COPYSCRIPT keyword specifies an SABasic script to be invoked for a specific property when a copy of the definition is made.
For information on how to create your own script, see SCRIPT.
Example
DEFINITION "Entity"
{ CHAPTER "Attributes"
PROPERTY "Description"
{ EDIT COMPLETE LISTOF "Attribute"
FROM "Data" KEYED BY {Model, "Entity Name":"Name", "Name"}
RELATE BY "uses" ASGRID
COPYSCRIPT OnCopyEntityDesc
EDITCLASS SACPropertyAttributeGrid
...
}
See also
Keywords for USRPROPS