# The Waite Group’s HyperTalk Bible — source transcripts, page 1

[Canonical transcript page](https://www.vintageapple.net/transcripts/media/va-hypertalk-bible-1989-8ab7ea/1)

## 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.

### Image 1

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-hypertalk-bible-1989-8ab7ea/1#scan-5b96f9eef6ec4e3d5e863ccc0da5be0922196b1bd87903f9e3ea067925582958)

Transcribed text:

HAYDEN Macintosh Library BOOKS 48430 Available on Disk

The Waite Group's
HyperTalk™ Bible
Covers HyperCard™ International Version 1.2.2

Foreword by Jan Lewis

Mitchell Waite
Stephen Prata
Ted Jones

Image description: A book cover with a blue gradient background, a yellow wavy stripe, and a framed painting of a wizard in a black robe with a pointed hat bearing an Apple logo, holding two glowing green tablets in front of an ancient brick wall with keyboard keys embedded in the bricks.

Reading notes: The Macintosh Library wordmark is stylized script and was transcribed as Macintosh Library; the small number 48430 is a catalog-style number. Fine print on the cover is minimal; no other legible copy was identified.

Languages: English

[Original Image 1](https://www.vintageapple.net/files/6b4c98494b11a568244b4984da26a06a6446e80ef52403294b41b1058a11172d/10560ad76554b446295efbd5.webp)

### PDF page 1

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-hypertalk-bible-1989-8ab7ea/1#scan-dd9d58bf72f62930210bd7d34ac04ff6436c1a76c90deb45d280e5889ae9f3aa)

Transcribed text:

HAYDEN Macintosh Library BOOKS 48430 Available on Disk

The Waite Group's
HyperTalk™ Bible
Covers HyperCard™ International Version 1.2.2

Foreword by Jan Lewis

Mitchell Waite
Stephen Prata
Ted Jones

Image description: A blue book cover with a purple top band, a framed illustration of a bearded wizard in a black robe with orange symbols and an orange gown holding two glowing green tablets beside a crumbling brick tower with keyboard-key shapes, and a yellow wavy line across the middle.

Reading notes: Small text in the top band and the bottom author names is legible but small; the numeral 48430 is a catalog-style number whose meaning is not stated on the cover. Keyboard key labels on the tower and sleeve symbols in the illustration are not clearly legible and were not transcribed.

Languages: English

[Original PDF page 1](https://www.vintageapple.net/files/2a7d993d3e4c8144c11752107adf03a95b924344ff4d558e4042025f0c466901/HyperTalk_Bible_1989.pdf#page=1)

### PDF page 2

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-hypertalk-bible-1989-8ab7ea/1#scan-c72a2fb33d660713a10522532e8adbef24932fa2475d0031a7f84a5138b2e677)

Transcribed text:

HyperTalk Version 1.2.2 Language Syntax
1. Keywords
do
else
end
exit
global
if
next
on
pass
repeat
return
send
then
2.   Commands
add   expr   to   exp~   169
arrowKey   keyNam~   262
ask   question,   124
beep   count,   37
choose   toolName   tool,   118
click at   location,   243
close file   fileName,   598
close printing
convert   container to   format,   388
delete   chunk
dial   expr,   221
divide   dest   by   exp~   169
doMenu   menulte~   117
drag   from   start   to   finish,   512
edit script of   object,   503
enterKey,   260
find   expr,   363
find string   expr   (1.2)
find whole   expr   (1.2>
functionKey   keyNumbe~   263
get   expr,   149
go   bkgndDescripto~   90
go   cardDescriptor,   90
go stackName,   90
help,   218
hide background picture   (1.2),   83
hide card picture   (1.2),   83
hide menuBar,   83
hi de   part,   83
hide   window,   83
lock screen   (1.2),   572
multiply   dest by expr,,   169
open   application
open file   fileName,   594
open printing
play stop,   482
play   "voice"   [tempo]   "notes'~   104
pop card   Cprepostion destl,   94
print   card,   493
print   cardDescripto~   493
print   doc   with   app
print   expr   cards
push   cardDescripto~   94
put   expr   [preposition   dest],   46
read   from file,   596
reset paint,   526
returnKey,   260
select   objectDescriptor   <1.2),   371
set   property to   value,   50
show   (cards),   83
show background picture   (1.2),   83
show card picture   C1.   2>,   83
show menuBar,   588
show number cards,   83
show   part   Cat   h,   vl,   83
show   window   [at   h,   vl,   83
sort   Cdirl   [style]   by   expr
subtract   expr   from   dest,   169
tabKey,   260
type   expr,   264
unlock screen   [with   visEffect]
(1.2),   572
visual   effectNam~   107
wait   time,   121
wait until   condition,   334
wait while   condition,   335
write   source   to file fi   leName,
3. Functions
Found Text Functions   (1.2)
the   foundText
the   foundChunk
the foundl   i   ne
the   foundField
Selected Text Functions   (1.2)
the
the
the
the
selectedText,   154
selectedChunk,   154
se lectedli ne,   154
selectedField,   154
595   Miscellaneous Functions
di skspaceO,   648
version(),   456
Note: all functions have alternative
format-the   function of expr
the   [long] version   [of HyperCardl
(1.2),   457
the version of   stackDescriptor
Math Functions
abs   Cexpr),   179
annuity   <rate,   periods>,
atan   <expr),   418
average   (   lis-t),   180
charToNum   <expr>,   352
compound   <rate,   periods),
cos   Cexpr),   412
exp   <expr),   400
exp1   ·   <expr),   400
exti2   Cexpr),   400
ln   <expr),   422
ln1   <expr),   422
log2   < expr),   423
max (list),   403
min (list),   403
random   <expr>,   178
round   < expr>,   181
sin   Cexpr>,   414
sqrt   <expr>,   405
tan   <expr),   416
trunc   <expr),   182
String Functions
length(expr),   359
numToChar<expr),   352
offset   <string1,   string2>,
resultO,   455
value   <expr>,   155
Mouse Functions
clicklocO,   236
mouse(),   239
mousecl   ickO,   241
mouseHO,   322
mouseVO,   233
mouselocO,   232
Keyboard Functions
optionKey   <the),   250
commandKeyO,   250
shi ftKeyO,   250
Time Functions
seconds   0,   392
secsO,   392
ti   cksO,   392
timeO,   385
Number   of   Functions
409
407
367
number of   chunks   in   facto~   136
number of   objects,   136
the number of cards of
bkgndDescriptor   (1.2),   136
(1.2),   457
sc reenRect   0   <1   •   2),   583
tool(),   501
sound(),   483
the   [modi fer]   date,   382
Error Function
result(),   455
Property Functions
target<>,   454
tool   0,   500
Parameter Functions
paramsO,   447
pa ram   Cexpr >,   448
paramcountO,   449
4. Constants
down,   239
empty,   349
false,   241
formfeed,   349
linefeed,   349
pi,   167
quote,   349
return,   349
space
tab,   349
true,   241
up,   239
zero,   one,   two, three,   four,   five,
six,   seven, eight,   nine,
ten,   167
5. System Messages
arrowKey,   262
closeBackground,   202
c loseCard,   202
closeFi eld,   202
c loseStack,   202
controlKey,   263
de leteBackground,   202
deleteButton,   202
deleteCard,   202
deleteField,   202
deleteStack,   202
doMenu,   220
enterlnField   C1.2~   210
enterKey,   211
functionKey,   263
idle,   217
(continued on last text page)

Reading notes: Numerous OCR artifacts and split words in the command and function listings, e.g. 'tool Name', 'exp~', 'stackDescriptor' variants Reading order of the 'Number of Functions' section and the Found/Selected text function groups is ambiguous due to column layout Page ends with '(continued on last text page)', so the listing is incomplete

Printed product names: HyperTalk

Languages: English

[Original PDF page 2](https://www.vintageapple.net/files/2a7d993d3e4c8144c11752107adf03a95b924344ff4d558e4042025f0c466901/HyperTalk_Bible_1989.pdf#page=2)

### PDF page 3

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-hypertalk-bible-1989-8ab7ea/1#scan-d157f523f4b491102d7dda3da680b38f6ae3e67fce22b566b44b9b14366083c9)

Image description: The image is a blank white page with no visible artwork, text, or layout elements.

Reading notes: No visible text found in the image; transcript and printed fields left empty.

[Original PDF page 3](https://www.vintageapple.net/files/2a7d993d3e4c8144c11752107adf03a95b924344ff4d558e4042025f0c466901/HyperTalk_Bible_1989.pdf#page=3)

### PDF page 4

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-hypertalk-bible-1989-8ab7ea/1#scan-fda00d0ea62eedd716621b7776a1cfdeb1dc5a65c8b386b53744e3240f936179)

Transcribed text:

·~·~-
HOWARD   W   SAMS   &_COMPANY
HAYDEN   BOOKS
Related Titles
The Waite Group's
Advanced C Primer++
Stephen Prata
The Waite Group's
C ++Programming (Version 2.0)
Edited by The Waite Group
The Waite Group's
Microsoft® C Programming
for the   PC,   Revised Edition
Robert Lafore
The Waite Group's
Turbo C® Programming
for the   PC,   Revised Edition
Robert Lafore
The Waite Group's
MS-DOS®   Bible, Second Edition
Steven Simrin
The Waite Group's
MS-DOS®   Developer's Guide,
Revised Edition
John Angermeyer, Kevin Jaeger, et al
The Waite Group's
Understanding   MS-DOS®
Kate O'Day and John Angermeyer
The Waite Group's
Tricks of the   MS-DOS®   Masters
John Angermeyer, Rich Fahringer,
Kevin Jaeger, and Dan Shafer
The Waite Group's
Discovering   MS-DOS®
Kate O'Day
The Waite Group's
MS-DOS®   Papers
The Waite Group
The Waite Group's
OS/2rM   Programmer's Reference
AsaelDror
The Waite Group's
UNIX®   Communications
Bart Anderson, Bryan   Costales,
Harry Henderson
The Waite Group's
UNIX®   Papers
The Waite Group
The Waite Group's
UNIX®   System   V   Bible
Stephen Prata, Donald Martin
The Waite Group's
Advanced   UNIX®-
A Programmer's Guide
Stephen Prata
The Waite Group's
Tricks of the HyperTalk   ™   Masters
(forthcoming)
The Waite Group
For the retailer nearest you, or to order directly from the publisher,
caII   800-428-SAMS.   In Indiana, Alaska, and Hawaii call 317-298-5699.

Reading notes: Primary heading not clearly identified; page appears to be a publisher's related-titles listing. OCR-like characters such as 'caII' and 'rM' may be misreadings of 'call' and 'OS/2'.

Languages: English

[Original PDF page 4](https://www.vintageapple.net/files/2a7d993d3e4c8144c11752107adf03a95b924344ff4d558e4042025f0c466901/HyperTalk_Bible_1989.pdf#page=4)

### PDF page 5

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-hypertalk-bible-1989-8ab7ea/1#scan-64e60e61c902d2314096bbd5941898519b49e8c9164428ec001219431341b6a4)

The Waite Group's Hype ~Bible

Transcribed text:

The Waite Group's
Hype   ~Bible
Mitchell Waite
Stephen Prata
TudJones
#f
HAYDEN   BOOKS
A Division of Howard   W.   Sams   &   Company
4300   West 62nd   Street
lndlanapo/Js, Indiana 46268   USA

Reading notes: Title line 'Hype ~Bible' may be OCR-garbled; 'Hype' possibly a misread of 'Help' or similar Publisher name 'Howard W. Sams' and address lines contain possible OCR errors ('lndlanapo/Js' likely 'Indianapolis')

Languages: English

[Original PDF page 5](https://www.vintageapple.net/files/2a7d993d3e4c8144c11752107adf03a95b924344ff4d558e4042025f0c466901/HyperTalk_Bible_1989.pdf#page=5)

### PDF page 6

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-hypertalk-bible-1989-8ab7ea/1#scan-d69530f2ec5ff236c6656ce1fadcb873d4d71029643802f007e65fb2c932a0a4)

Transcribed text:

©1989 by The Waite Group, Inc.
FIRST   EDITION
FIRST   PRINTING-1989
All rights reserved. No part of this book shall be reproduced, stored in a retrieval system, or
transmitted by any means, electronic, mechanical, photocopying, recording, or otherwise,
without written permission from the publisher. No patent liability is assumed with respect to
the use of the information contained herein. While every precaution has been taken in the
preparation of this book, the publisher and author assume no responsibility for errors or
omissions. Neither is any liability assumed for damages resulting from the use of the
information contained herein.
International Standard Book Number:   0-672-48430-7
Library of Congress Catalog Card Number:   89-63209
From The Waite Group, Inc.
Development Editor:   Mitchell   1¥.Iite
Content Editors:   Mitchell   1¥.lite   and   Kay   Nelson
Managing Editor:   Scott   Calamar
Tuchnical Reviewer:   Rod Riggenback, Apple Computer
From Howard   W.   Sams   & Company
Acquisitions Editing: Greg   Michael
Development Editing:   James Rounds
Illustration:   WT!.   D. Basham   and   David Cripe
Cover Art Direction: Celeste   Design
Cover Illustration:   Ron Troxell
Indexing:   Ted   Laux
Keyboarding:   Lee Hubbard,   Type   Connection, Indianapolis
Composition:   Shepard   Poorman   Communications Corp.
Printed in the United States of   America
Trademark Acknowledgments
All terms mentioned in this book that are known to be trademarks or service marks are listed
below. In addition, terms suspected of being trademarks or service marks have been
appropriately capitalized. Howard W.   Sams   &.   Company cannot attest to the accuracy of this
information.   Use   of a term in this book should not be regarded as affecting the validity of any
trademark or service mark.
Apple, the Apple logo, HyperCard, ImageWriter, and LaserWriter are registered trademarks
of Apple Computer, Inc.
Compuserve is a registered trademark of CompuServe Information Services,
an H   &.   R Block Company.
Excel, Microsoft Word, and Microsoft Windows are trademarks of the Microsoft Corporation.
4th Dimension is a trademark of Acius.
FullWrite is a trademark of Ashton-Tate.
IBM   PS/2,   OS/2,   and Presentation Manager are registered trademarks of International
Business Machines Corporation.
Icon Factory is a trademark of Hyperpress Publishing Company.
Macintosh, Macintosh   Plus,   Macintosh   SE,   Macintosh II, HyperTalk, Finder, MultiFinder,
and Stackware are trademarks of Apple Computer, Inc.
MacPaint, MacDraw, and MacWrite are registered trademarks of   CLARIS   Corporation.
MacRecorder is a trademark of Farallon Computing, Inc.
MockWrite is a trademark of CE Software.
Radius   Two   Page Display is a trademark of Radius, Inc.
WordPerfect is a registered trademark of WordPerfect Corporation.

Reading notes: OCR errors in names such as '1¥.Iite' and 'Tuchnical Reviewer' appear in the source text Some editor and company names in the copyright block may be partially garbled

Printed product names: Apple · HyperCard · ImageWriter · LaserWriter · Compuserve · Excel · Microsoft Word · Microsoft Windows · 4th Dimension · FullWrite · IBM PS/2 · OS/2 · Presentation Manager · Icon Factory · Macintosh · Macintosh Plus · Macintosh SE · Macintosh II · HyperTalk · Finder · MultiFinder · Stackware · MacPaint · MacDraw · MacWrite · MacRecorder · MockWrite · Radius Two Page Display · WordPerfect

Printed dates: 1989 · 89-63209

Languages: English

[Original PDF page 6](https://www.vintageapple.net/files/2a7d993d3e4c8144c11752107adf03a95b924344ff4d558e4042025f0c466901/HyperTalk_Bible_1989.pdf#page=6)

### PDF page 7

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-hypertalk-bible-1989-8ab7ea/1#scan-9f0e1fb3e60db0c67f6fd9dd218ce92007503f13595b9bc4444eb53da579d49d)

Transcribed text:

To Wavy   Gra~   Ken Kesey, Bob Dylan,
John Lennon, Steve Jobs, Howdy Doody,
and all the other oddballs and great thinkers
that have crossed my path.
Mitchell Waite

Reading notes: Garbled characters in the first line ('To Wavy Gra~') make the reading uncertain. The first line may be a dedication fragment; reading order is unclear.

Languages: English

[Original PDF page 7](https://www.vintageapple.net/files/2a7d993d3e4c8144c11752107adf03a95b924344ff4d558e4042025f0c466901/HyperTalk_Bible_1989.pdf#page=7)

### PDF page 8

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-hypertalk-bible-1989-8ab7ea/1#scan-7337a51455404b6f15aaa22109d81fe704ce64e2e3abdbd4b2c4b985f5b9f30b)

Transcribed text:

Mitchell Waite is president of The Waite Group, a developer of   com-
puter books. He is an experienced programmer fluent in a variety of
computer languages, including C, Pascal,   BASIC,   Assembly, and
HyperTalk . He wrote his first computer book in 1976, and is   co-au-
thor of   C Primer Plus, Microsoft QuickC Programming,   UNIX   Primer
Plus,   and many other titles. Mr. Waite also writes a column on
HyperTalk for   Hands   On   Macintosh.
Stephen   Prata is a professor of physics and astronomy at The College
of Marin in Kentfield, California, where he teaches   UNIX   and the C
language . He received his   B.S .   from the California Institute of   Tuch-
nology and his Ph .D. from the   University   of California, Berkeley. His
association with computers began with the computer modeling of
star clusters. Dr. Prata is co-author of   C Primer Plus,   UNIX   Primer
Plus,   and   Microsoft QuickC Programming,   and author of   Advanced C
Primer++.
Tud   Jones is an experienced programmer in Microsoft-BASIC , who
recently switched to HyperTalk . He has a   B.S .   in liberal arts from   Ari-
zona   State   University.   Mr. Jones chose to learn HyperTalk to avoid
learning Pascal. He contributed to   The Waite Group's Tricks of the
HyperTalk Masters,   and is a HyperTalk consultant and occasional
contributor to the   BMUG   newsletter.

Reading notes: OCR spelling 'Tuch-nology' likely refers to Technology; 'Tud Jones' may be a misreading of Ted or Tom Jones

Printed product names: C Primer Plus · Microsoft QuickC Programming · UNIX Primer Plus · Hands On Macintosh · Advanced C Primer++ · Tricks of the HyperTalk Masters · Microsoft-BASIC · HyperTalk · BMUG

Printed dates: 1976

Languages: English

[Original PDF page 8](https://www.vintageapple.net/files/2a7d993d3e4c8144c11752107adf03a95b924344ff4d558e4042025f0c466901/HyperTalk_Bible_1989.pdf#page=8)

### PDF page 9

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-hypertalk-bible-1989-8ab7ea/1#scan-110b992027f7ec58b52619cceb439a6eaa62edd4c970f5dc9b14cce7a387c7a7)

Transcribed text:

Overvieur
Introduction, 1
1   Starting, 29
2   Objects, 57
3   Audio and Visual Events,   101
4   Containers and Values, 12   7
5   Simple Math, 161
6   Messages, 197
7   Mouse, 229
8   Keyboard,247
9   Ifs, 269
10   Repeats,   307
11   Strings, 341
12   Date and Time, 379
13   Math Functions, 399
14   Advanced Commands and Functions, 42   7
15   Advanced Sound, 461
16   Simulation, 487
17   Graphics, 521
18   Global Properties, 547
19   File Input and   Output,   591
20   XCMDs and XFCNs, 613
A   HyperCard-HyperTalk Version History, 645
vii

Languages: English

[Original PDF page 9](https://www.vintageapple.net/files/2a7d993d3e4c8144c11752107adf03a95b924344ff4d558e4042025f0c466901/HyperTalk_Bible_1989.pdf#page=9)

### PDF page 10

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-hypertalk-bible-1989-8ab7ea/1#scan-7431951011d961642eaf2ef1b70cee103f43d08a194a205336334ca9f0eebd3c)

Transcribed text:

Contents
Acknowledgments
Foreword
Preface
To the Reader
Introduction
What Is HyperCard?
Enabling Thchnology
Not an Application
Warming up Cold Media
HyperMedia TuolKit
Where Did HyperCard and HyperTalk Come From?
Authoring   System   or   Programming   Language?
Not Wild about WildCard
Principles of the Macintosh
The Macintosh Architecture
The Interface
The Nature of HyperTalk
The   Problem   with Traditional Languages
HyperCard Tricks for Better Scripts
Keyboard Alternatives
Power   Keys
Keyboard Manipulation
Windoid Controls
Fast Info
~~
xxiii
xxv
xxvii
xxix
1
3
3
4
5
5
5
6
7
9
9
9
15
15
20
21
22
22
22
22
il(.

Reading notes: Possible OCR error: 'Enabling Thchnology' may be 'Enabling Technology' Possible OCR error: 'il(.' at end of source is unclear Contents lists page numbers with unclear reading order between section entries and page numbers

Printed product names: HyperCard · HyperTalk · HyperMedia TuolKit · Macintosh

Languages: English

[Original PDF page 10](https://www.vintageapple.net/files/2a7d993d3e4c8144c11752107adf03a95b924344ff4d558e4042025f0c466901/HyperTalk_Bible_1989.pdf#page=10)

### PDF page 11

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-hypertalk-bible-1989-8ab7ea/1#scan-0365957db2a87eb215f01a30bc55dbf16bec61070e96d872914c69020b3137aa)

Transcribed text:

HyperTalk Bible
Thxt   Selections and the Clipboard
New Shortcuts
Something New: Peeking
Resources
Official HyperCard Utilities
Networks
Magazines
Books
1   Starting
What Version of HyperCard?
User   Level and   Preferences
Test Stack: HyperTalk Bible
The   script   Property and the Script Editor
Your   First HyperTalk   Script
The   beep   Command
Case   Rules
Using   the Script Editor
Cutting, Copying, and   Pasting
Searching and Finding
Automatic Formatting of   Scripts
Option-Return for Long Lines
The HyperCard-HyperTalk Relationship
Where's the Script?
Getting the   Message
Making Comments
The   Message   Bo~-Your   Scripting Control Panel
The HyperTalk Vocabulary
Vocabulary   E~pansion:   put
The   Syntax
Using   put   and the Message Box
More   put   and a Trick
Switching between Tuols
Vocabulary   E~pansion:   set
Summary
Review Questions
E~ercise
23
23
23
23
23
24
25
25
29
31
31
33
35
35
37
38
38
39
39
40
40
41
42
43
43
44
45
46
46
47
49
50
50
52
52
55

Reading notes: Table of contents page numbers and some OCR characters (e.g., 'Thxt', 'E~pansion', 'Tuols') may be garbled.

Languages: English

[Original PDF page 11](https://www.vintageapple.net/files/2a7d993d3e4c8144c11752107adf03a95b924344ff4d558e4042025f0c466901/HyperTalk_Bible_1989.pdf#page=11)

[Next transcribed scans](https://www.vintageapple.net/transcripts/media/va-hypertalk-bible-1989-8ab7ea/2.md)
