PM_VIEW_NAME_IS_VALID

Syntax

int_val = PM_VIEW_NAME_IS_VALID ( name, error_message );
Input arguments
string name Name string whose validity to check.
Output arguments
string error_message If the name is not valid, then 'error_message' contains an explanation of why it is not valid.

Return Values

Success:
int 1 Name is valid.
Failure:
int 0 Name is not valid or script interface error.

Description

This function tests if a given name would be a valid name for a view.