184
Libraries
© 2008 Conrad Electronic
must be chosen in such a way that all characters of the string fit into the character array.
Additionally some space is needed for a terminating character (decimal Zero) in order to indicate the
end of the character string.
6.17.1 Str_Comp
String Functions
Syntax
char Str_Comp(char str1[],char str2[]);
Sub Str_Comp(ByRef str1 As Char,ByRef str2 As Char) As Char
Description
Two strings are compared.
Parameter
str1 pointer to char array 1
str2 pointer to char array 2
Return Parameter
0
both strings are equal
<0
if the first string is
smaller
than the second
>0
if the first string is
greater
than the second
Remark
The attribute
smaller
or
greater
is specified for the character difference at the first point of difference
between both strings.
6.17.2 Str_Copy
String Functions
Syntax
void Str_Copy(char destination[],char source[],word offset);
Sub Str_Copy(ByRef destination As Char,ByRef source As Char,offset As
Word)
Description
The source string (source) is copied to the destination string (destination). During copying also the string
termination character of the source character string is copied.
Parameter
Содержание C-Control Pro Mega Series
Страница 1: ... 2008 Conrad Electronic C Control Pro Mega Series ...
Страница 9: ...VIII Inhalt 2008 Conrad Electronic ...
Страница 10: ...Part 1 ...
Страница 17: ...Part 2 ...
Страница 23: ...Part 3 ...
Страница 41: ...32 Hardware 2008 Conrad Electronic 3 3 5 3 Component Parts Plan ...
Страница 57: ...48 Hardware 2008 Conrad Electronic 3 4 5 3 Component Parts Plan ...
Страница 58: ...Part 4 ...
Страница 91: ...82 IDE 2008 Conrad Electronic ...
Страница 92: ...Part 5 ...
Страница 135: ...126 Compiler 2008 Conrad Electronic 31 1F US 63 3F 95 5F _ 127 7F DEL ...
Страница 136: ...Part 6 ...
Страница 231: ...Part 7 ...
Страница 240: ......