Chapter 13 Device Logic (Pawn)
native strcat(dest[], const source[], maxlength=sizeof dest);
Adds the source character string to the dest character string (including '\0')
Parameter
Explanation
dest
Array to store the result. This array already comprises one character string to
which the source character string should be added.
source
Character string that should be added to the character string included in the array
dest
maxlength
Size (in Cells) of the array to store the result - OPTIONAL
Explanation
Return value
Number of added characters
native strcmp(const string1[], const string2[], length=cellmax);
Compares character string1 and string2
Parameter
Explanation
string1
The two character strings that are to be compared
string2
length
The maximum number of characters that should be taken into consideration
during the comparison - OPTIONAL
Explanation
Return value
l
1: string1 > string 2
l
0: both of the character strings are the same (at least the length that is
taken into account)
l
-1: string1 < string 2
native strchr(const string[], char);
Searches for a character (first occurrence) in a character string
Parameter
Explanation
string
Character string that should be searched
char
Character that the search is looking for
Explanation
Return value
l
-1, if the character that the search is looking for is not included in the
character string
l
Array index for the character that the search is looking for (first character
occurring in the character string)
Rev. 05
173
Summary of Contents for myDatalogEASY V3
Page 2: ......
Page 13: ...Chapter 2 Declaration of conformity Chapter 2 Declaration of conformity Rev 05 13 ...
Page 14: ......
Page 42: ......
Page 76: ......
Page 88: ......
Page 102: ......
Page 110: ......
Page 116: ......
Page 234: ......
Page 244: ......
Page 252: ......
Page 254: ......
Page 266: ......
Page 276: ......