Xbasic

A5.WRITE_SETTING Function

Syntax

A5.Write_Setting(C name,A value)

Arguments

name

The name of the setting to receive the value.

value

The value to be stored.

Description

The A5.WRITE_SETTING() method is a simplified version of the A5.SAVE_SETTINGS() method that stores a single Value into the setting named Setting_Name in the current database's library.

Example

Store and read values.

MyName = "Fred"
A5.write_setting("Name", myname)
Current_name = a5.read_setting("Name")
current_name -> "Fred"

See Also