I think what you want is <cfset newvar = var1 & var2>, right? You need to
use the ampersand to concatenate the variables. If you want to add them,
provided that they are numbers (check with IsNumeric()) just do <cfset
newvar = var1 + var2>.
If you want, you can also use a cfscript block like so:
<cfscript>
// Concatenate
newvar = var1 & var2;
// Add
newvar = var1 + var2;
<cfscript>
-----Original Message-----
From: Robert Everland III [mailto:[EMAIL PROTECTED]]
Sent: Sunday, May 21, 2000 6:48 PM
To: [EMAIL PROTECTED]
Subject: Put 2 variables together
For the life of me I can not remember how to put 2 variables
together. I
know it has been posted a billion times. Sorry for the question.
Bob Everland
----------------------------------------------------------------------------
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.