SAVE Verb - BBj

For this topic's original documentation, see SAVE Verb - Save File.

BBj-Specific Information (BBj 3.0 and higher only)

Syntax

SAVE {format,}{filename}{,create}

Parameter

Description

format(int)

0 = Save in same format as file was loaded (ASCII if the original format was PRO/5).

1 = Save in BBj-tokenized format.

2 = Save in ASCII format.

filename(string)

The current filename is used if there is no filename specified.

create(int)

The create parameter (int) specifies that the file does not exist and BBj should create the file.

Remarks

If no format parameter is specified, then BBj will:

  • Save a program in the ASCII format if it is a new program, or was loaded from an ASCII or PRO/5 file. Note that this differs from the PRO/5 default of saving in a tokenized format.

  • Save a program in the BBj-tokenized format if it was loaded from a tokenized BBj file.

BBj will never save in PRO/5 format.

Example

SAVE
SAVE 2, "filename", 0
SAVE "filename",0
SAVE 1
SAVE 1, "filename"

See Also

Verbs - Alphabetical Listing