SAVEPIC

Syntax

SAVEPIC filename

SAVEPIC filename.BMP

SAVEPIC filename.WMF

Explanation

SAVEPIC saves data on the graphics screen directly to the disk. SAVEPIC outputs TRUE if the file is successfully saved; otherwise, it outputs FALSE. SAVEPIC saves graphics images in the PCX format. They can be viewed with LOADPIC in Logo or with any other program that uses the PCX format. When you use SAVEPIC, the file name will be appended with the extension .PCX unless you indicate otherwise.

Drive specifiers (A:, B:, etc.) can be used with SAVEPIC, but all colons must be preceded with backslash (\). If a drive specifier is not used, SAVEPIC saves the file to the currently selected drive. Function key F8 is equivalent to SAVEPIC when Logo starts.

If SAVE is used without inputs or if the supplied file name contains wild card characters like ? or *, a dialog box will pop up, letting you select a file name.

Other valid file formats are BMP (Windows bitmap) and WMF (Windows Placeable Metafile).

See also SAVE and LOAD.

Example

? SAVEPIC \

? "PRETTY.BMP

?