|
|
This function combines two or more string expressions (catenation). The result of the function is the catenated string. |
||||||
Syntax: |
|||||||
| {STR_VAR}= strcat({STR_EXPR_LIST} | |||||||
I/O parameters:
|
|||||||
Return values: |
|||||||
|
|||||||
Example: |
|||||||
| Declaration of Variables | |||||||
10 ask(DOCU_FLOAT_1,"Please enter a value!")
20 DOCU_FLOAT_2 = sqr(DOCU_FLOAT_1)
30 DOCU_STRING_1 = make_str(DOCU_FLOAT_1)
40 DOCU_STRING_2 = make_str(DOCU_FLOAT_2)
50 DOCU_STRING_3 = strcat("",DOCU_STRING_1," squared is equal to ",
DOCU_STRING_2)
60 put(DOCU_STRING_3)
|
|||||||
| Result: | |||||||
![]() |
|||||||
|
Functions and commands: Editing Strings |