STATEMENT: Exit Property
Exit Property
VBScript 5.0
The Exit Property statement is used to immediately exit from a
Property Get, Property Let, or a Property Set statement block.
It cannot be used in any other procedure.
Code:
<%
Property Get PieType Month
If Month = "October" Then
PieType = "pumpkin"
Exit Property
End If
PieType = "apple"
End Property
%>