Xbasic

a5_globalSetting_add Function

Syntax

dim result as L = a5_globalSetting_add(settingName as C, settingValue as C)

Arguments

settingNameCharacter

The name of the setting to add.

settingValueCharacter

The value to store in the setting.

Returns

resultLogical

Returns .t. if the function call succeeds. Otherwise, returns .f..

Description

Adds a setting to the Global Settings table.

Discussion

The a5_globalSetting_add() function adds a setting to the Global Settings table.

The Global Settings table must be configured to use this function in your web applications.

Example

dim settingName as c = "test"
dim settingValue as c = "This is my test value."

dim result as L
result = a5_globalsetting_add(settingName, settingValue)
? result
= .T.

Limitations

Requires Global Settings Table

See Also