I have seen ColdFusion 9 code which initializes many properties of a structure at a time.
Here is an example:
<!---
pseudo constructor code
--->
<cfset variables.instance = {
first_name = '',
last_name = '',
gender = '',
dateofbirth = ''
} />
Is there a way to do this in coldfusion MX7 ?
No, this syntax was partially introduced in cf8, and further improved in 9. MX7 had no such construct available.