STATEMENT:  Exit Property

Implemented in version 5.0
 
Exit Property
 
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
%>


Copyright 1999-2004 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information