This example shows the use of cfabort to stop processing. In the second example, where cfabort is used, the result
never displays.
Example A: Let the instruction complete itself
The value of myVariable after incrementing through the loop #Counter# times is:
#myVariable#
Example B: Use cfabort to halt the instructions with showmessage attribute and
cferror
The value of myVariable after incrementing through the loop#counter# times is:
#myVariable#
2 Responses to “ColdFusion Code Test”
This example shows the use of cfabort to stop processing. In the second example, where cfabort is used, the result
never displays.
Example A: Let the instruction complete itself
The value of myVariable after incrementing through the loop #Counter# times is:
#myVariable#
Example B: Use cfabort to halt the instructions with showmessage attribute and
cferror
The value of myVariable after incrementing through the loop#counter# times is:
#myVariable#
By Omer on Jun 17, 2008
!— Set initial selected and blocked-out dates.—>
You selected #Form.selectedDate#
Please select a date on the calendar and click Save.
By rwre on Jun 19, 2008