SettingBoolean

Syntax

integer SettingBoolean (string settingname, string defaultvalue)

Description

Get a Boolean setting.

Parameters

Return Value

The function returns either the value of the setting or the default value in case the setting doesn’t exist.

The value is interpreted as follows: 1 if the setting value starts with ‘y’, ‘j’, ’t’, ’s’ or ‘1’, either lower or uppercase, otherwise 0.

Notes


Copyright © 2024 LogiGear Corporation. All rights reserved. LogiGear is a registered trademark, and Action Based Testing and TestArchitect are trademarks of LogiGear Corporation. All other trademarks contained herein are the property of their respective owners.

LogiGear Corporation

1730 S. Amphlett Blvd. Suite 200, San Mateo, CA 94402

Tel: +1 (650) 572-1400