Handling undefined variable with a dynamic var
I'm trying to account for the possibility of a piece of code trying to do
something with an undefined dynamic variable, eg:
<cfset thenextcount = #getpodetail.recordcount# + 1>
<cfset theunitpricecheck = #Evaluate("unitprice" & thenextcount)# >
This bombs occasionally -- I'd like to handle it by doing something like this:
[h]<cfparam name="#Evaluate("unitprice" & thenextcount)#" default="1">[/h]
But no workie!