[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 92
  • Last Modified:

Coldfusion 8 equivalent of the cf9 "new"

<cfscript>
cfObject=new cfcPath(constructorParam1,...);
</cfscript>

in 9 would be what in 8?
0
kcjuliff
Asked:
kcjuliff
  • 2
1 Solution
 
_agx_Commented:
The closest equivalent for CF8 is:

       <cfscript>
           yourObject = createObject("component", cfcPath).init(constructorParam1,...);
       </cfscript>

0
 
_agx_Commented:
This response answers the question of the equivalent operator in CF8

https://www.experts-exchange.com/questions/27382637/Coldfusion-8-equivalent-of-the-cf9-new.html#a36921660
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now