Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you join 2 strings in Symposium

Status
Not open for further replies.

scrote

Technical User
Feb 20, 2002
27
GB
Hello all,
I'm trying to join 2 strings together to allo me to use less varibales and hopefully keep my scipts tidy.

I've tried ASSIGN "ABC" TO cv_TEST_STRING and that works fine. I nned to be able to do something like:

ASSIGN cv_TEST_STRING + "ABC" TO cv_TEST_STRING

I can accomplish the final result using multiple sections and if/then and where statements but I am hoping to find something quicker.

Any ideas?
 
Nortel4Matt is correct, you can not add up strings.

From the M1 Scripting guide:
Symbol: +
Description:
The Addition expression (plus sign) adds two values of the same type. This expression can be used with numerical constants, variables, and expressions that
return the data types Integer and Seconds.
 
Thanks guys,

I thought that was the case but if it could be done someone on Tek-Tips would know.

Thanks again
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top