- February 8, 2017
- Posted by: user
- Category: Uncategorized
Today i was working with cfscript and i wanted to use a cfparam inside cfscript and i came to one solution. This is what you can do in cfscript.
IF(NOT IsDefined(‘Variables.test1’)) Variables.test1 = ”;
This thing has been made so easy if you are using Coldfusion 9.
param name="Variables.test1" default="";