Xbasic

A5.READ_SETTING Function

Syntax

Variable_Value as C = A5.Read_Setting(C name)

Arguments

name

The name of the library variable that you wish to retrieve.

Description

The A5.READ_SETTING() method is a simplified version of the A5.LOAD_SETTINGS() method that reads a single value (called Setting_Name ) from 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