HK Components

================================================================================

HK_preferences

PREF_get_boolean

Retrieves a boolean preference according to the preference code passed.
The preference is first queried as user specific, then, if not found, as general.
The content of the preference is stored as text, so we can compare dfferent content for a boolean value:
true, vrai, wahr, 1, y, ja, oui

Call

prefbol:=PREF_get_boolean(prefcode)

Parameters

$1 -> text preference identification code
$0 <- boolean the boolean representation of the preference

Example

if(PREF_get("usecustomdlg"))
   MyDialog("warning")
else
   ALERT("warning")
end if
--------------------------------------------------------------------------------

Pricing

All current components are donationware in their compiled form, please use the donate button below to give what you think it's worth via paypal.

You can buy the sourcecode to the components. AC_Basics is free, but the source for all other components is 100 U$/€ via PayPal. You will receive the password to the archive contained in the component as soon as I receive the email from paypal confirming payment. Please make sure to call the payment button from the webpage of the desired component, so I know what you want to pay for. I can send an invoice by mail if you so require, EU corporate entities may provide a VAT ID in the message of their PayPal payments so I can deduct the VAT.

Thanks a lot

========================

Current version

0.8 - 2009.02.27
========================