IPWorks X12 2020 macOS Edition

Questions / Feedback?

Config Method

Sets or retrieves a configuration setting.

Syntax

public func config(configurationString: String) throws -> String

Remarks

Config is a generic method available in every class. It is used to set and retrieve configuration settings for the class.

These settings are similar in functionality to properties, but they are rarely used. In order to avoid "polluting" the property namespace of the class, access to these internal properties is provided through the Config method.

To set a configuration setting named PROPERTY, you must call Config("PROPERTY=VALUE"), where VALUE is the value of the setting expressed as a string. For boolean values, use the strings "True", "False", "0", "1", "Yes", or "No" (case does not matter).

To read (query) the value of a configuration setting, you must call Config("PROPERTY"). The value will be returned as a string.

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks X12 2020 macOS Edition - Version 20.0 [Build 7941]