OverviewExamples
boolean Web.IsEnabled ( |
order_form_enabled = Web.IsEnabled("Online Order Form");
Stores true in a variable named "order_form_enabled" if the "Online Order Form" web object is enabled, and false if it is disabled.
bWeb2Enabled = Web.IsEnabled("Web2");
Checks whether the "Web2" web object is enabled or disabled, and sets the "bWeb2Enabled" variable to either true or false accordingly.
Tip: Starting a variable name with "b" is a technique that programmers use to help themselves remember that a variable contains a boolean value.
See also: Related Actions