System.Functions¶
Functions¶
StrCopy¶
Copy the contents of a string variable to another string variable.
Parameters
Parameter | Type | Value/Ref | Description |
---|---|---|---|
strDest[] |
CHAR[]
|
IN |
The character string is copied to this string variable.
Since strDest[] is an array of type CHAR , individual characters and constants are not permissible. |
strSource[] |
CHAR[]
|
IN |
The contents of this string variable are copied. |
Return
Type | Description |
---|---|
BOOL |
Returns true if the copy was successfull. Returns false otherwise. |
Comments
...
Notes
The function StrCopy()
can be used to copy the contents of a string variable to another string variable.
Code Sample
1 2 3 4 5 | DECL CHAR A[25], B[25] DECL BOOL C A[] = "" B[] = "Example" C = StrCopy(A[], B[]) |
1 2 | A[] = "Example" and C = true |