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.

CONSHNDL         

Return the window handle of the console window.

CONSIN

Determine if standard input has been redirected.

CONSNAME$     

Return the name in the console window caption.

CONSOLE GET LOC

Retrieve the location of the console window on the screen..

CONSOLE GET SCREEN   

Retrieve the size of the visible part of the console, in text rows and columns.

CONSOLE GET SIZE

Retrieve the size of the console window, in pixels.

CONSOLE GET VIEW

Retrieve the position of the viewable part of a virtual screen.

CONSOLE GET VIRTUAL 

Retrieve the size of the screen buffers associated with the console window.

CONSOLE NAME

Set the name of the console window caption.

CONSOLE SET FOCUS      

Bring the console window to the foreground and direct the focus to it.

CONSOLE SET LOC           

Move the console window to a new location on the screen.

CONSOLE SET SCREEN

Change the size of the console window and its associated screen buffers.

CONSOLE SET VIEW        

Set the position of the viewable part of a virtual screen.

CONSOLE SET VIRTUAL

Change the size of the buffers associated with the console window.

CONSOUT           

Determine if standard output has been redirected.

CURDIR$

Return the current directory for a given drive.

CURSOR               

Return the size status of the caret.

CURSOR               

Set the caret size and visibility.

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.

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.

GETSTDERR        

Return the handle of the standard error device.

GETSTDIN           

Return the handle of the standard input device.

GETSTDKBD       

Return the handle of the standard keyboard device.

GETSTDOUT       

Return the handle of the standard output device.

GETSTDVID        

Return the handle of a nominated console video page.

HOST ADDR

Translate a host name into a corresponding IP address.

HOST NAME

Translate an IP address into a corresponding host name.

KILL

Delete a disk file.

METRICS

Retrieves information or dimensions of system elements.

MKDIR              

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

MOUSE                        

Turn on/off mouse event trapping and define required mouse events.

MOUSEBUTTONS    

Return the number of buttons on the system mouse.

MOUSESTAT             

Determine if a mouse event is waiting to be retrieved.

MOUSEX

Return the current column (x coordinate) of the mouse cursor.

MOUSEY

Return the current row (y coordinate) of the mouse cursor.

NAME

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

OPEN

Prepare a file or device for reading or writing.

PAGE     

Determine which of 8 console text pages is active and/or visible.

PAGEACTIVE     

Return the current active console page number.

PAGEVISIBLE

Return the number of the visible console page.

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.

PCOPY  

Copy all text from one console text page (screen) to another.

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.

STDEOF               

Return TRUE if the end of standard input has been reached.

STDERR               

Output a string expression to the standard error device.

STDIN LINE

Read one line of text from the standard input device.

STDOUT

Output a string expression to the standard output device.