Movicon Help on Line - Rel. 11.7.1301
Syntax |
SetAlias(_lpszAlias, _lpszValue) |
||
Description |
This function sets the value defined for the Alias passed as the "lpszAlias" parameter. The new value will be the one passed with the "lpszValue " parameter and may be a variable name or a string or numeric value. If the Alias does not exist in the object's Table it will be added as a new one.
|
Parameter |
Description |
lpszAlias As String |
Name of the Alias for which the value is set. If Alias does not exist, it will be added as a new one. |
lpszValue As String |
Value to set the Alias with. |
Result |
Boolean |
Example:
Public Sub Click()
Debug.Print SetAlias("TsetAlais", "VAR00001")
End Sub