# Macintosh Programming Using MS-BASIC 2.0 — source transcripts, page 2

[Canonical transcript page](https://www.vintageapple.net/transcripts/media/va-macintosh-programming-using-ms-basic-1985-dd81d5/2)

## Transcribed source material

Machine transcriptions and image descriptions; uncertain copy may be marked [illegible]. Verify against the linked originals. Historical rights remain with the original owners.

These are transcribed excerpts, not the full publications. Open the originals for remaining pages.

### PDF page 12

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-macintosh-programming-using-ms-basic-1985-dd81d5/2#scan-aa74869bd86e0455a347d1b5c9229870125a96fad2eaecf44d6e81f53266344a)

Transcribed text:

'
a selection from one of your menus. The MENU function enables you to detect which
menu and which item from that menu was selected. From there, you can route your pro-
gram to subroutines that respond to the various items you have incorporated.
Figure 1-1 illustrates the use of menus in MS-BASIC   2.0   programs.   It   is taken from
one of the programs discussed in detail later in the book. Notice that you may have up
to   20   items in your own menus, just as in the   "real   thing."   Some features are not sup-
ported directly from MS-BASIC. You cannot change the type face or font in a menu. You
can only place a check mark by an item-no other symbol. You cannot check a dimmed
menu item. You cannot set up command key equivalents that are automatically detected
by BASIC (although you can program this capability with extra BASIC statements-see
Chapter 4). Finally, you cannot install items in the system menus.   In   particular you can-
not install your own desk accessories from an MS-BASIC program.
WINDOWS
MS-BASIC   2.0   provides you with up to four different windows, which may be of four
different types: document, shadowed, one-line border, or framed. Figure 1-2 illustrates
these. The   WINDOW   command allows you to create and open windows on the screen.
The   WINDOW   CLOSE   command allows you to close an existing window. The WIN-
DOW   function provides your program with valuable information it may need while
manipulating its windows.
,.
•   ~6   teenage   hacker
Rctiue   Output   Do   Messages
Window   I   Bozo
Oh   frabjous   day
Tale   or two windows
Column   R
Column   B
lnfundibulum
Desserts
Gone with the   Window
Peep   Show
Window   2   Pigeonhole
=====>   Eat   at   Joe·s   <=====
Creature   Feature
Kentucky Fried   Window
Used   piHels
RHe   a   lotto   L's
ltsy   bitsy teeny weeny bits
This   space   for rent
Fenestra
luan   Galamian ,;;ny,,.   '•';   ''
Fig. 1-1 . An   MS-BASIC   menu with twenty items.
2
.,
u

Reading notes: Source text is a fragment of a computer manual excerpt with figure text partly garbled (e.g., 'Rctiue Output Do Messages', 'lnfundibulum'). Reading order of figure labels is uncertain.

Printed product names: MS-BASIC 2.0

Languages: English

[Original PDF page 12](https://www.vintageapple.net/files/e2474319034f34b3c8d04d030505634b9801b31a3971fda74f81c7fd58e7db26/Macintosh_Programming_Using_MS-Basic_1985.pdf#page=12)

[Previous transcribed scans](https://www.vintageapple.net/transcripts/media/va-macintosh-programming-using-ms-basic-1985-dd81d5/1.md)
