# WRITELIST

Updated: 11/30/2021, 7:00:45 PM
Created: 11/30/2021, 7:00:45 PM
Last Updated By: Jake Tuttle
Read Time: 1 minute(s)

# Description

WRITELIST allows the program to store a list held in a jBASE BASIC variable to the global list file. It takes the general form:

WRITELIST variable ON|TO expression {SETTING setvar} {ON ERROR statements}
1

Where:

variable is the variable in which the list is held.

expression should evaluate to the required list name. If expression is null, it writes the list to the default external list.

If the SETTING clause is specified and the write fails, it sets setvar to one of these values.

An example of use is as:

WRITELIST MyList ON "MyList"
1

See also: DELETELIST, READLIST, FORMLIST

Go back to jBASE BASIC

Go back to Programmers' Reference Guide