VOID %STRCAT%
Scopo: concatenare il valore di una
varibile ad un'altra.
| Sintassi: | |||
| VOID | %STRCAT% | (%STRING% | str1, |
| %STRING% | str2) | ||
Descrizione: consente di concatenare il contenuto
di str2 al valore di str1.
Al termine dell'operazione di copia viene aggiunto il carattere terminatore (\x0).
Valore restituito: nessuno.
Vedere anche: %STRBEGIN%, %STRCPY%, %STRCHG%, %STRICHG%, %STRLOWER%, %STRUPPER%, %MEMCPY%, %MEMSET%, %MID%, %LEFTTRIM%, %RIGHTTRIM%
Esempio:
%STRING%(str1, "3D")
%STRING%(str2, "Informatica")
str1 = %WRITE%(str1)
str2 = %WRITE%(str2)
%STRCAT%(str1, " ")
%STRCAT%(str1, str2)
str1 = %WRITE%(str1)
Program output:
str1 = 3D
str2 = Informatica
str1 = 3D Informatica