PCL Reference Manual > XY Plot Functions > Rename Action
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX''">XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX''">   
Rename Action
This section is used to describe some of the functions used to implement the “Rename” actions.
  
xy_window_rename
(window_name, new_name)
Description:
 
 
This function renames a xy window.
Input:
 
 
STRING
window_name[31]
This value specifies the current name of window.
STRING
new_name[]
This value specifies the new name to be assigned.
Output:
 
 
INTEGER
<Return Value>
This function returns a value of 0 when executed successfully and a non zero value to indicate a change in status or an error.
Error Conditions:
 
10000700
The specified window name is invalid. Enter a window name that is less than 31 characters and that has no embedded blanks.
10000705
There is no current window specified.
13000004
Duplicate entry exists in table
13000063
XY window not found
Example:
Please see xy_window_rename.