Instructions

347 C-Control Pro IDE
© 2013 Conrad Electronic
Remark
The attribute smaller or greater is specified for the character difference at the first point of difference
between both strings.
5.24.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
destination pointer to destination string
source pointer to source string
offset Number of characters by which the source string is offset when copied to the destination
string..
If offset has the value STR_APPEND (ffff Hex) then the length of the destination string is assumed as
offset. In this case the source string is copied behind the destination string.
5.24.3 Str_Fill
String Functions (Library "String_Lib.cc")
Syntax
void Str_Fill(char dest[], char c, word len);
Sub Str_Fill(ByRef dest As Char, c As Char, len As Word)
Description
The string dest is filled with character c.
Parameter
dest pointer to destination string
c character that is written into the string
len count, how often c is written into the string