Operating System

The following functions manipulate file and operating system features:

CHDIR

Change the current (default) directory on a given drive.

CHDRIVE

Change the current default drive.

CLIPBOARD GET BITMAP

A bitmap is copied from the CLIPBOARD and stored in a newly created GRAPHIC BITMAP.

CLIPBOARD GET OEMTEXT

A text string is retrieved from the CLIPBOARD. If necessary, it is converted to OEM Text format.

CLIPBOARD GET TEXT

A text string is retrieved from the CLIPBOARD. If necessary, it is converted to ASCII Text format.

CLIPBOARD GET UNICODE

A text string is retrieved from the CLIPBOARD. If necessary, it is converted to Unicode Text format.

CLIPBOARD RESET

The contents of the CLIPBOARD are deleted.

CLIPBOARD SET BITMAP

Copies a GRAPHIC BITMAP to the CLIPBOARD.

CLIPBOARD SET OEMTEXT

Copies a OEM text string to the CLIPBOARD.

CLIPBOARD SET TEXT

Copies a ASCII text string to the CLIPBOARD.

CLIPBOARD SET UNICODE

Copies a Unicode text string to the CLIPBOARD.

COMMAND$

Return the command-line used to start the program.

CURDIR$

Return the current directory for a given drive.

DATE$

Set and retrieve the system date.

DESKTOP GET CLIENT    

Retrieve the size of the client area of the desktop, in pixels.

DESKTOP GET LOC           

Retrieve the location of the top, left corner of the client area of the desktop, in pixels.

DESKTOP GET SIZE          

Retrieve the size of the entire desktop, in pixels.

DIR$

Return a filename that matches the given mask.

DIR$ CLOSE

Force the release the operating system FindNext handle.

DISKFREE

Return the amount of available space of a disk, in bytes.

DISKSIZE

Return the total amount of space on a disk, in bytes.

DISPLAY BROWSE

Display a folder selection dialog to return the user's choice.

DISPLAY COLOR

Display a color selection dialog to return the user's choice.

DISPLAY FONT

Display a  selection dialog to return user choices.

DISPLAY OPENFILE

Display an OpenFile selection dialog to return user choices.

DISPLAY SAVEFILE

Display a SaveFile selection dialog to return user choices.

ENVIRON

Modify the current program's environment table.

ENVIRON$

Retrieve strings from the operating system's environment table.

EXE.Inst

Returns the instance handle of the programming which is currently executing.

EXE.Extn$

Returns the extension of the program which is currently executing.

EXE.Full$

Returns the complete drive, path, and file name of the program which is currently executing.

EXE.Name$

Returns just the file name of the program which is currently executing.

EXE.Namex$

Returns the file name and the extension of the program which is currently executing.

EXE.Path$

Returns the complete drive and path of the program which is currently executing.

FILEATTR

Return information about an open file.

FILECOPY

Copy a file.

FILENAME$

Return the file-system name of an open file.

FLUSH

Flush file buffers to disk to ensure the disk information is current.

GETATTR

Return the file-system attribute(s) of a disk file or directory.

HOST ADDR

Translate a host name into a corresponding IP address.

HOST NAME

Translate an IP address into a corresponding host name.

ISFILE

Determine whether or not a file exists.

KILL

Delete a disk file.

METRICS

Retrieves information or dimensions of system elements.

MKDIR                        

Create a subdirectory/folder (like the DOS MKDIR command).

NAME

Rename a file or a directory (like the DOS REN command).

OPEN

Prepare a file or device for reading or writing.

PATHNAME$

Parse a path/file name to extract component parts.

PATHSCAN$

Find a file on disk and return the path and/or file name parts.

RGB

Return a composite RGB color value.

RMDIR

Delete a disk directory (like the DOS RMDIR command).

SETATTR

Set the file system attribute(s) of a disk file or directory.

SETEOF

Truncate/extend a file to its current file pointer position.

SHELL

Launch an executable program asynchronously.

SHELL

Launch an executable program synchronously.

SLEEP

Pause the current thread for a specified number of milliseconds.