1StopCoders

Code Examples and Industry News

Return Multiple Variables in a ColdFusion Function

ColdFusion - Created by Casey Martin: 2014-05-10 20:18:00

To return multiple variables, you will need to create a struct. In the example below, we have a struct named "data", which returns the variables "data.success" and "data.message".