# GW-BASIC User's Guide

### Microsoft Corporation

Information in this document is subject to change without notice and does not represent a commitment on the part of Microsoft Corporation. The software described in this document is furnished under a license agreement or nondisclosure agreement. It is against the law to copy this software on magnetic tape, disk, or any other medium for any purpose other than the purchaser's personal use.

© Copyright Microsoft Corporation, 1986, 1987. All rights reserved.

Portions copyright COMPAQ Computer Corporation, 1985

Simultaneously published in the United States and Canada.

Microsoft®, MS-DOS®, GW-BASIC® and the Microsoft logo are registered trademarks of Microsoft Corporation.

Compaq® is a registered trademark of COMPAQ Computer Corporation.

DEC® is a registered trademark of Digital Equipment Corporation.

Document Number 410130001-330-R02-078

# GW-BASIC User's Reference

### Microsoft Corporation

Information in this document is subject to change without notice and does not represent a commitment on the part of Microsoft Corporation. The software described in this document is furnished under a license agreement or nondisclosure agreement. The software may be used or copied only in accordance with the terms of the agreement. It is against the law to copy this software on magnetic tape, disk, or any other medium for any purpose other than the purchaser's personal use.

© Copyright Microsoft Corporation, 1986, 1987. All rights reserved.

Portions copyright COMPAQ Computer Corporation, 1985

Simultaneously published in the United States and Canada.

Microsoft®, MS-DOS®, GW-BASIC®, and the Microsoft logo are registered trademarks of Microsoft Corporation.

EGA® and IBM® are registered trademarks of International Business Machines Corporation.

Document Number 410130013-330-R02-0787

## Introduction

This manual is an alphabetical reference to GW-BASIC instructions: statements, functions, commands, and variables.

The name and type of each instruction is listed at the top of the page, and is followed by:

Purpose | The purpose of the instruction
Syntax | The complete notation of the instruction
Comments | Pertinent information about the instruction, and what happens when it is encountered by GW-BASIC
Examples | An illustration of the instruction as it might appear in a program
Notes | Any special information about the instruction