100% found this document useful (1 vote)
18 views

TouchDevelop Programming on the Go 3rd Edition R. Nigel Horspool - Get the ebook in PDF format for a complete experience

The document promotes the ebook 'TouchDevelop Programming on the Go 3rd Edition' by R. Nigel Horspool, available for download at ebookfinal.com. It also lists several other recommended ebooks and provides their download links. Additionally, it includes a detailed table of contents outlining various chapters and topics covered in the book, focusing on mobile app development using TouchDevelop.

Uploaded by

darvenzl
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
18 views

TouchDevelop Programming on the Go 3rd Edition R. Nigel Horspool - Get the ebook in PDF format for a complete experience

The document promotes the ebook 'TouchDevelop Programming on the Go 3rd Edition' by R. Nigel Horspool, available for download at ebookfinal.com. It also lists several other recommended ebooks and provides their download links. Additionally, it includes a detailed table of contents outlining various chapters and topics covered in the book, focusing on mobile app development using TouchDevelop.

Uploaded by

darvenzl
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 57

Visit ebookfinal.

com to download the full version and


explore more ebooks or textbooks

TouchDevelop Programming on the Go 3rd Edition R.


Nigel Horspool

_____ Click the link below to download _____


https://ebookfinal.com/download/touchdevelop-programming-on-
the-go-3rd-edition-r-nigel-horspool/

Explore and download more ebooks or textbook at ebookfinal.com


Here are some recommended products that we believe you will be
interested in. You can click the link to download.

Go Climb Read It Watch It Do It GO SERIES Nigel Shepherd

https://ebookfinal.com/download/go-climb-read-it-watch-it-do-it-go-
series-nigel-shepherd/

An introduction to programming with Mathematica 3rd


Edition Paul R. Wellin

https://ebookfinal.com/download/an-introduction-to-programming-with-
mathematica-3rd-edition-paul-r-wellin/

Market Led Strategic Change 3rd Edition Nigel F. Piercy

https://ebookfinal.com/download/market-led-strategic-change-3rd-
edition-nigel-f-piercy/

Recording on the Go The Definitive Guide to Live Recording


1st Edition Gary Gottlieb

https://ebookfinal.com/download/recording-on-the-go-the-definitive-
guide-to-live-recording-1st-edition-gary-gottlieb/
R High Performance Programming 1st Edition Lim

https://ebookfinal.com/download/r-high-performance-programming-1st-
edition-lim/

Prestressed concrete bridges design and construction 2nd


ed Edition Nigel R Hewson

https://ebookfinal.com/download/prestressed-concrete-bridges-design-
and-construction-2nd-ed-edition-nigel-r-hewson/

Programming in Lua 3rd Edition Roberto Ierusalimschy

https://ebookfinal.com/download/programming-in-lua-3rd-edition-
roberto-ierusalimschy/

Beginning Linux programming 3rd Edition Neil Matthew

https://ebookfinal.com/download/beginning-linux-programming-3rd-
edition-neil-matthew/

CNC programming handbook a comprehensive guide to


practical CNC programming 3rd ed Edition Smid

https://ebookfinal.com/download/cnc-programming-handbook-a-
comprehensive-guide-to-practical-cnc-programming-3rd-ed-edition-smid/
TouchDevelop Programming on the Go 3rd Edition R.
Nigel Horspool Digital Instant Download
Author(s): R. Nigel Horspool, Nikolai Tillmann
ISBN(s): 9781430261360, 1430261366
Edition: 3
File Details: PDF, 3.88 MB
Year: 2013
Language: english
This book was purchased by [email protected]

For your convenience Apress has placed some of the front


matter material after the index. Please use the Bookmarks
and Contents links to access them.
Contents
Preface xi

Who this book is for xi


Background to the book xii
Other learning materials xiii
Acknowledgments xiii
Important websites xiii
The TouchDevelop Team xiii

List of figures xvii

List of tables xix

Chapter 1 Introduction to TouchDevelop 1

1.1 Computers want to be programmed 1


1.2 What is TouchDevelop? 2
1.3 The TouchDevelop ecosystem 4
1.4 History and Future 6
1.5 Platforms 7
1.6 The scripting language 9

Chapter 2 The Scripting Language 11

2.1 Introduction – the language flavor 11


2.2 Datatypes and variables 15
2.3 Expressions 22
2.4 Statements 28
2.5 Actions 31
2.6 Events 34
2.7 Pages 36
2.8 Creating library scripts 36
vi | Contents

Chapter 3 The Wall – using the screen 37

3.1 Output – the writing on the wall 37


3.2 Input of values from the touchscreen 42
3.3 Updating the wall’s content 43
3.4 Events on the touchscreen 45
3.5 Pushing and popping pages 49
3.6 Titles and subtitles 49
3.7 Wall buttons 50
3.8 On-demand creation of output 52

Chapter 4 The Web 53

4.1 URLs and webpages 53


4.2 Downloading and uploading files 58
4.3 Downloading structured data 62
4.4 REST guidelines and web requests 69

Chapter 5 Audio 73

5.1 Music 73
5.2 Sounds 79
5.3 Microphone 81

Chapter 6 Camera, Graphics and Video 83

6.1 Camera 83
6.2 Working with pictures 87
6.3 Static graphics drawing and display 93
6.4 Playing videos from the internet 96

Chapter 7 Sensors 97

7.1 The sensors 97


7.2 Sensor-driven events 98
7.3 Accelerometer 99
7.4 Compass 104
7.5 Gyroscope 105
Contents | vii

7.6 Motion 107

Chapter 8 Interactions 111

8.1 Social messages 111


8.2 Locations, places, maps 113
8.3 Emails 115
8.4 Phone Calls 117
8.5 2D barcodes 118
8.6 SMS messages (WP8 only) 119
8.7 Calendar and appointments (WP8 only) 120
8.8 Contacts (WP8 and Android only) 121

Chapter 9 Game Board 123

9.1 Introduction 123


9.2 The Board datatype 124
9.3 The Sprite datatype 130
9.4 The Sprite Collection datatype 135
9.5 Touching and board events 136
9.6 Debugging games 140

Chapter 10 UI with Boxes and Pages 141

10.1 Page Overview 141


10.2 Box Overview 142
10.3 Examples of Boxes and Pages 143
10.4 Working with Pages 150
10.5 Live Editing of the User Interface 152
10.6 API Support for Boxes and Pages 153

Chapter 11 Authenticating Web Services 157

11.1 Registering your app 157


11.2 Authenticating 158
11.3 Libraries 160
11.4 Advanced topics 161
viii | Contents

Appendix A Editing TouchDevelop Scripts 163

A.1 The starting point 164


A.2 The editing steps 166
A.3 Additional steps 173
A.4 More advanced editing features 174

Appendix B TouchDevelop Services 178

B.1 bazaar 178


B.2 box 178
B.3 collections 180
B.4 colors 180
B.5 contract 182
B.6 invalid 182
B.7 languages 184
B.8 locations 184
B.9 maps 185
B.10 math 185
B.11 media 187
B.12 phone 188
B.13 player 188
B.14 senses 189
B.15 social 190
B.16 tags 191
B.17 tile 191
B.18 time 192
B.19 wall 192
B.20 web 194

Appendix C TouchDevelop Datatypes 197

C.1 Appointment 197


C.2 Appointment Collection 197
C.3 Board 198
C.4 Boolean 199
Contents | ix

C.5 Camera 199


C.6 Color 200
C.7 Contact 200
C.8 Contact Collection 201
C.9 DateTime 202
C.10 Form Builder 203
C.11 Json Builder 203
C.12 Json Object 204
C.13 Link 204
C.14 Link Collection 205
C.15 Location 205
C.16 Location Collection 206
C.17 Map 206
C.18 Matrix 207
C.19 Message 208
C.20 Message Collection 209
C.21 Motion 210
C.22 Number 210
C.23 Number Collection 211
C.24 Number Map 211
C.25 OAuth Response 212
C.26 Page 213
C.27 Page Button 213
C.28 Page Collection 213
C.29 Picture 213
C.30 Picture Album 215
C.31 Picture Albums 216
C.32 Pictures 216
C.33 Place 216
C.34 Place Collection 217
C.35 Playlist 218
C.36 Playlists 218
C.37 Song 218
x | Contents

C.38 Songs 219


C.39 Song Album 219
C.40 Song Albums 219
C.41 Songs 220
C.42 Sound 220
C.43 Sprite 220
C.44 Sprite Set 222
C.45 String 223
C.46 String Collection 225
C.47 String Map 225
C.48 TextBox 226
C.49 Vector3 226
C.50 Web Request 227
C.51 Web Response 228
C.52 Xml Object 228

Appendix D Platform Capabilities 231

D.1 Supported Browsers 231


D.2 General Features 231
D.3 Supported Sensors and Devices 232
D.4 Support for Services/Resources 233
D.5 Support for Created Apps 233

Appendix E TouchDevelop Editor on a Windows Phone 235

E.1 The sample program 235


E.2 The back button, undo and mistakes 235
E.3 The editing example 236
E.4 Additional steps 241
E.5 Refactoring code into a new action 243

Index 245
Chapter 1
Introduction to TouchDevelop
TouchDevelop is a complete app creation ecosystem designed for touch,
cloud connected, mobile devices. This chapter provides a brief
introduction to the world of TouchDevelop scripting and the devices that
support it.

1.1 Computers want to be programmed 1


1.2 What is TouchDevelop? 2
1.3 The TouchDevelop ecosystem 4
1.4 History and Future 6
1.5 Platforms 7
1.6 The scripting language 9

1.1 Computers want to be programmed


Computers are everywhere, and they take on many different forms: TVs,
smart phones, fridges with apps, etc. Despite this abundance of form and
function, until recently, most people thought of desktop PCs and then
laptops when they were asked about computers. This perception is shifting,
as smartphones and tablets are quickly becoming the main computers for an
increasing number of people. As a matter of fact, smartphone sales have
surpassed PC sales even faster than some analysts anticipated.

New smartphone and tablet models are getting more powerful and
becoming suitable for many tasks that used to require PCs. Mobile devices
have become well established tools for reading and composing emails,
browsing the web, and playing games. These devices are even being used to
2 | Getting started Chapter 1

annotate documents. And yet, the one task that can be seen as the defining
moment of any computing platform is not yet widely performed on
smartphones and tablets: writing code, or even creating entire applications.

The previous generation of people who grew up with full featured PCs
always had the option to program them. While most people chose not to do
that, they at least had the option. Decades of programming language and
development environment research produced powerful tools suitable for
PCs. It is through exploring this opportunity that many young people
became interested in computer science.

Unfortunately, in the new world of apps and app marketplaces with a focus
on existing curated content, it seems that the creative outlet of programming
that encouraged aspiring programmers in the past is no longer easily
accessible. The ability to program on the very device one owns and uses all
the time is not a prominent option anymore.

Granted, smartphones and tablets pose new challenges for programming


tasks. These devices have no physical keyboard, the screen tends to be
rather small, and data tends to not be stored locally but is dynamically
fetched from the cloud. A group at Microsoft Research asked the question:
“Is it possible to create interesting apps directly on a smartphone, without
using a separate PC or a keyboard?” It is in the attempt to answer this
question that TouchDevelop was born.

The TouchDevelop team took on the challenge of rethinking computer


programming from the ground up, trying to understand how a modern
mobile touch-screen device should be programmed in its own right.
TouchDevelop was created with a goal to ignore the legacy of programming
languages optimized for linear text input via a keyboard, often having a
verbosity that assumes big screens.

We believe that as more people adopt mobile devices as their primary, or


possibly only, computing devices, it will become more important to not just
enable users to consume content but to also empower them to produce
content. We particularly believe in empowering users to produce new
applications.

1.2 What is TouchDevelop?


TouchDevelop is a novel application development environment that allows
anyone to script their mobile devices anywhere. It does not need a separate
Chapter 1 Getting started | 3

PC and can be used by students, hobbyists, power users, and developers.


Through TouchDevelop, users can create scripts (i.e., apps written using
TouchDevelop) to access data, media, and sensors on a smart phone, tablet
or PC. The scripts can also interact with the cloud services for storage,
computing, and social networks. TouchDevelop applications can serve many
purposes and are typically written for fun, for personalizing the phone, and
for creating productivity tools.

TouchDevelop brings the excitement of the first programmable personal


computers to the now ubiquitous mobile devices. Scripts developed using
TouchDevelop allow users to show and manipulate music and pictures
stored on their own mobile devices, to use the device’s sensors, and to
interact with friends in their social networks.

TouchDevelop can be used to develop games such as “missile defense”,


which is a full featured game where cities must be defended against
incoming missiles (https://www.touchdevelop.com/zvpj). The script for this
sample game can be downloaded to the TouchDevelop application installed
on a Windows Phone or directly from the TouchDevelop web application.
The user has full access to the script and can modify the game in any way
imaginable. If someone has made improvements to the game, the improved
game can be shared with others. It is as simple as tapping a button to upload
the changed script back to the website. The script will be assigned a different
identification tag (replacing the /zvpj letters at the end of the URL). If the
author of missile defense publishes an update, TouchDevelop will
automatically redirect the user to the latest version of that game.

An example of a TouchDevelop script being used for productivity is the “my


online meetings” script, which finds active online meetings. If there is one, it
can be joined through the Microsoft Lync application installed on the phone
(https://www.touchdevelop.com/mpuj).

The TouchDevelop website provides a variety of scripts that can be used for
learning or as examples. Sample scripts meant to illustrate how to use the
built-in APIs can be found at the URL https://www.touchdevelop.com/pboj.
Scripts written by other users can be found by going to the TouchDevelop
URL https://www.touchdevelop.com/search and entering a term like ‘game’
into the search box. Alternatively one can explore the on-line API manual at
https://www.touchdevelop.com/doc/api.
4 | Getting started Chapter 1

1.3 The TouchDevelop ecosystem


A script developed using the TouchDevelop editor can be shared with other
users by using the TouchDevelop cloud infrastructure at
https://www.touchdevelop.com.

Figure 1-1 gives a high level architectural overview of the TouchDevelop


ecosystem: regardless of whether a phone or browser client is used, all
information such as scripts is retrieved and stored in the touchdevelop.com
cloud service.

Figure 1-1: The TouchDevelop ecosystem


This book was purchased by [email protected]

touchdevelop.com

phone

browser

TouchDevelop scripts are developed by users on their devices and executed


within the TouchDevelop run time environment. These scripts can be shared
with other users. The TouchDevelop cloud infrastructure supports this
Chapter 1 Getting started | 5

sharing amongst a community of TouchDevelop users. These scripts can also


be searched, viewed, and installed into a user’s account using the
TouchDevelop website. The cloud infrastructure enables sharing, and, acts
as a repository of all scripts developed and published by users.

The TouchDevelop website allocates a unique deep link for each script on
http://touchdevelop.com; where each script is identified by a seemingly
random letter sequence. For example, https://www.touchdevelop.com/zpco
refers to a particular version of the TouchInvaders game, as in Figure 1-2. It
can be used to open the script directly. This link can be shared with other
people or on social networks.

Figure 1-2: Viewing metadata of a script

If a user likes this script, he or she can show their appreciation of a script or
a comment by giving it a positive review in the form of a “heart”.
6 | Getting started Chapter 1

On any client, a phone or a web browser, the user can edit a script as shown
in Figure 1-3.

Figure 1-3: Editing a script

1.4 History and Future


After releasing TouchDevelop in April of 2011, first exclusively available for
Windows Phone, the overwhelming response surprised us. Since then, more
than 300,000 people downloaded the app. At first, TouchDevelop was
limited to creating scripts on the device where it was installed – there was
no way to share scripts with other people.

In August 2011, the update to v2.0 of TouchDevelop brought sharing of


scripts via the touchdevelop.com cloud service. The update also enabled
many more social features such as reviewing scripts, writing comments,
Chapter 1 Getting started | 7

taking screenshots, etc. Since then, more than 90,000 people registered
online and shared more than 25,000 scripts, most of them written entirely
on phones. Many features were added over time, making TouchDevelop an
increasingly powerful development environment and language. The features
include support for libraries for code reuse and custom structured data
types.

In order to share scripts not only within the TouchDevelop environment, but
also with other people who might not be aware of TouchDevelop, we added
the ability to export scripts as apps that can be submitted to the Windows
Phone Store. This capability has existed since March of 2012.

In October 2012, TouchDevelop took a giant step forward. Thanks to a


complete re-implementation, TouchDevelop could now run not just on
Windows Phones, but on virtually any modern device in a browser as a Web
App. The supported platforms include PC, Mac, iPhone, iPad, iPod Touch, and
Android. The new TouchDevelop implementation harnesses the power of
HTML5 and JavaScript, while still using the same programming language as
before. The code editor dynamically adjusts to the screen size to
accommodate small screens on smartphones, medium-sized screens on
tablets, and large screens on PCs. The user interface of the Web App has
again been optimized for touchscreens, but a keyboard and a mouse can also
be used if desired and available. At the same time, we also added the ability
to export scripts as apps that can be submitted to the Windows Store (which
is a separate concern from the Windows Phone Store).

In the near future, the update v3.0 of the TouchDevelop app for Windows
Phone will bring the same editing and execution engine that currently
powers the TouchDevelop Web App to Windows Phone 8 devices.

A significant upcoming addition to the TouchDevelop programming


language will be the concept of “cloud state.” By just tagging a variable as
“cloud”, similar to how one marks a variable as “static” in C#, an app is
turned into a distributed app with shared state. All changes to that variable
will get automatically synchronized between different devices and users.

1.5 Platforms
There are a number of optional sensors for Windows Phones. “Near field
communication” (NFC), front camera, rear camera, magnetometer and
gyroscope may or may not be present in any given device model. Similarly,
8 | Getting started Chapter 1

some browsers choose to expose certain sensors while others don’t. Safari
on iOS exposes the accelerometer; Chrome on Android only partially, and
Internet Explorer 10 not at all. This variety is most likely an artifact of the
continuously evolving HTML5 standard; so, hopefully, more and more
sensors will be supported by all browsers as time goes by.

Depending on these constraints, and depending on whether you are running


the native TouchDevelop app on Windows Phone or the Web App in the
browser, different feature sets are available to you when you write your
scripts. See https://www.touchdevelop.com/platforms for a complete and
up-to-date overview of the different platform capabilities.

1.5.1 Installing TouchDevelop on a Windows phone


If TouchDevelop is to be used for the first time on a Windows Phone, it will
need to be installed. To install the app, follow these steps:

1. Tap the Store tile on the Windows phone.


2. Press the search icon at the bottom of the screen, and type the text
‘touchdevelop’ into the Store Search text box. Before you finish
typing all the letters, the TouchDevelop app should appear as a
choice on the screen.
3. Tap that choice to select it.
4. Tap Install.

If your device is running a Windows Phone 7 or 7.5 or 7.8 operating system,


then you will get TouchDevelop v2.0, which uses a slightly different user
interface that does not match the screenshots in this book, and its language
is a subset what is discussed in this book.

If your device is running Windows Phone 8, then you will get TouchDevelop
v3.0, which resembles the Web App at https://www.touchdevelop.com/app,
but it exposes many more sensors and data providers available on the
phone.

1.5.2 Running TouchDevelop on other platforms


On all other platforms, TouchDevelop does not come as an app in a
marketplace, but instead as a Web App. You can run it from your web
browser:
Chapter 1 Getting started | 9

1. Go to https://www.touchdevelop.com/
2. Log in. You will be taken to the Web App.

1.6 The scripting language


TouchDevelop is a language for writing mobile apps. The TouchDevelop
Windows Phone application and the web app also provide a runtime
environment for executing TouchDevelop scripts.

The TouchDevelop language is a typed, structured programming language


built around the idea of only using touch to author code. It has built-in
primitives that make it easy to access the rich sensor data available on a
mobile device. The TouchDevelop language mixes imperative, object-
oriented, and functional features. The imperative parts are the most visible:
users can update local variables, and the states of global objects. Object-
orientation is dictated by auto completion requirements – properties of
objects are an easily accessible and intuitive concept. However, for the sake
of simplicity, the language does not provide the ability to define new types
which are subtypes of other types.

A TouchDevelop script consists of a number of actions (functions or


procedures), events (actions to be performed when an external event
occurs), definitions of tables and record types, global state (global variables
and read-only data) and library references (references to other scripts). The
language is covered in some depth in Chapter 2.

The TouchDevelop script editor is part of the TouchDevelop application. It is


designed for efficient entry of scripts using only the touchscreen.
TouchDevelop scripts execute within the TouchDevelop application. The
mode of execution is entirely reactive - actions are run in response to events.
Events can be raised by user input (e.g., interacting with a UI element,
changing the orientation of the phone, or shaking it), events from the phone
(e.g., change of active song in the song player) or passage of time.
TouchDevelop uses cooperative multi-threading. Actions and events are
executed in a single-threaded manner.
Chapter 2
The Scripting Language
A TouchDevelop script appears to the user as statements in a language
which is not unlike many other programming languages. This chapter
covers the syntax and semantics of that language. The language is
augmented by a powerful and rich API (Application Programming
Interface), an API which significantly extends the programming
capabilities of the TouchDevelop language. The API is covered in the
chapters which follow this one.

2.1 Introduction – the language flavor 11


2.2 Datatypes and variables 15
2.3 Expressions 22
2.4 Statements 27
2.5 Actions 31
2.6 Events 34
2.7 Creating library scripts 36

2.1 Introduction – the language flavor


These introductory paragraphs are written for people who know some of
the terminology used to describe programming language semantics, and will
allow such readers to fast forward over large chunks of this chapter.

The scripting language is statement oriented. Statements are executed in a


sequential manner. Control flow constructs include if-statements, for and
while loops, and functions (which are called actions in this language).

The statements manipulate values. All intermediate values and variables are
statically type checked. Only parameters of actions have explicit type
12 | The scripting language Chapter 2

declarations. The datatypes of all other values and variables are inferred
through analysis of the code.

The language is strongly typed, in that (with one exception), every operation
requires operands of particular datatypes and there is no automatic coercion
to the type required by an operation. The datatypes belong to one of two
categories: value types and reference types. Value types may have storage on
the stack used for local variables, and their storage is automatically
deallocated on exit from an action (i.e. from a function). Reference types
have their storage allocated on the heap.

The heap is garbage collected. In addition to parameters and local variables,


a script can define globally visible variables in its data section or read-only
variables in its art section. Their storage is persistent across script
executions.

Although the language syntax shows similarities to object-oriented


languages, the language does not support the object-oriented paradigm. For
example, there is no equivalent of class inheritance or method overloading.

To conserve real estate on smaller screens, several symbols are used instead
of keywords. These symbols are all available as characters in the Segoe UI
Symbol font (a font which is distributed with the Windows 7 and 8 operating
systems). The symbols are summarized in Table 2-1.

2.1.1 A sample program (/okzc)


This sample program is shown in Figure 2-1. It uses several features
provided by the API. They will be explained only briefly. More complete
explanations are provided in later chapters. Note that this script runs only
on a Windows Phone.

The script comprises two actions and two events. The action named main is
the entry point for the script. The action named display song is called by
main. It has one input parameter named song (with type Song) and has one
result parameter named result (with type Number).

The main action defines and initializes a local variable named found. No
datatype is provided in that definition; it is inferred from the value used for
initialization which has type Number. The local variable named songs is, by
Discovering Diverse Content Through
Random Scribd Documents
“Be a good fellow, Wolf, and don’t say a word.”
“I will not if I can help it. I don’t think anybody will know
anything about this scrape. Those who saw the dummy come out
will suppose I was on her. But here’s a pretty kettle of fish!” I added,
glancing at the dummy, and then at the road minus the rails.
“Can we put the thing on the track again?”
“I think we can—we can try it, at least. We want some of those
rails for levers.”
“Where are they?” asked the puzzled Faxon. “Did some one steal
them for old iron?”
“No; they are not far off,” I replied, leading the way down to the
Lake Shore.
We walked along the beach, till I discovered footsteps in the
sand.
“Here is where they landed,” I added, pointing to the prints, and
also to some deep lines gored in the sand by a couple of boats,
which had been hauled up on the beach.
“Who landed? I don’t understand it.”
“I do; an enemy has done this. The Wimpletonians have been
over here during the night and torn up your track.”
“If they did, it will be a sorry day for them,” said Faxon, grating
his teeth and shaking his head.
“These footprints were made by dandy boots, and all the party
were boys. It’s as plain as the nose on Colonel Wimpleton’s face;”
and the great man of Centreport was troubled with a long proboscis.
“They’ll catch it for this.”
We walked along till we came to Grass Brook, and there we
found the rails thrown into the deep water at the mouth of it. The
end of one of them lay within my reach, and I pulled it out. Using
this as a lever, we pried up the wheels of the dummy, and, after an
hour of severe exertion, we succeeded in putting the car upon the
track.
CHAPTER XXIV.
THE GRAND PICNIC.

I t is not necessary for me to quote any of the big words which


Major Toppleton used when I told him the Wimpletonians had
been over and torn up a quarter of a mile of the track of the Lake
Shore Railroad. I did not deem it best, as he asked no questions, to
augment his wrath by telling him the dummy had been off the track.
He was more impatient, if possible, to have the road completed than
the boys were. He procured the services of a score of mechanics and
laborers, and we hastened with them to the dismantled portion of
the road. The rails were fished up from the deep water, and before
twelve o’clock the track was in as good order as ever.
If the students of the Wimpleton Institute looked over the lake,
and enjoyed the mischief they had done,—as of course they did,—
their satisfaction was of short duration. Before they were turned out
to play in the afternoon, the dummy was running her regular trips to
Spangleport. I have no doubt the rascals who did the mischief felt
cheap and crestfallen when they saw the car going on its way as
though nothing had happened; and I had no more doubt that they
would consider their work ill done, and attempt to do it over again.
They were not allowed to go out nights; but I am afraid the
authorities of the Institute did not punish them very severely when
they broke through the rules in order to do mischief to the
establishment on the other side. It was only following the example
of the magnate of Centreport and many of their elders; and “like
master, like man.”
When the torn-up track was relaid, the twenty men were
conveyed beyond Spangleport to build the road. Frogs and switches
had been procured, the turning apparatus was finished, and I had
the pleasure of running both ways in ship-shape style. By laying a
few rods of track, and putting down a couple of switches near the
engine-house, we were enabled to turn at the Middleport end. We
always switched off to run into the engine-house, and we had to
back in, from a point above the house. On the new track we ran out
to a point below, and came upon the main line headed towards
Spangleport. I take the more pride in describing these movements,
because they were of my own invention, though I have since learned
that similar plans had been used before.
Towards night on the second day of my railroad experience,
Major Toppleton was a passenger in the engine-room. He was in
high spirits to think the mischief done by the Wimpletonians had
been so speedily repaired; but he was afraid the daring act would be
repeated, as I was quite satisfied it would. I knew my late comrades
on the Centreport side well enough to understand that they would
never let the Lake Shore Railroad enjoy peace and prosperity until
they were provided with an equivalent. I was confident that Colonel
Wimpleton was racking his brains even then for a scheme which
would produce an equal excitement among the students of his
Institute.
“You know those villains over there better than I do, Wolf,” said
the major confidentially to me; and I was amazed to hear him own
that I knew anything better than he did. “Don’t you think they will
attempt to tear up the track again?”
“Yes, sir, I do think so,” I replied.
“The rascals! It mortifies me to have them get ahead of me in
this manner. If I could only catch them, I would cure them of night
wandering very quick. It is of no use for me to complain to the
colonel, or to the principal of the Wimpleton Institute. They would
enjoy my chagrin.”
“It is easy enough to prevent them from doing any more
mischief,” I added.
“How?” he asked, eagerly.
“By setting a watch.”
“Yes; and while we are watching in one place they will tear up
the rails in another.”
“There are two ways to do it. Your tow-boat can ply up and down
the shore, or we can run the dummy all night.”
“Do you think you can stand it to run the dummy all night, Wolf?”
laughed he.
“My father and I could for a few nights.”
The tow-boat had gone up the lake with a fleet of canal boats,
and the other plan was the only alternative. I saw my father at six
o’clock. He was ready to serve on the watch, but he was not willing
to leave my mother alone with my sisters at home all night, fearful
that some of the chivalrous Wimpletonians might undertake to
annoy her. But Faxon volunteered to serve with me, and was pleased
with the idea. We lighted up the reflecting lamp over the door of the
engine, and, though it was dark, we put her “through by daylight,” in
a figurative sense.
We talked till we were sleepy, and then by turns each of us took
a nap, lying upon the cushions of the passenger compartment. It
was a good bed, and we enjoyed the novelty of the situation. Faxon
by this time understood the machinery very well, and I was not
afraid to trust him. We did not run on regular hours, and lay still
more than half the time, after Faxon had run the car as much as he
desired. We kept an eye on the lake for boats, of which the
Wimpletonians had a whole squadron.
Only once during the night was there anything like an alarm. We
saw half a dozen boats come down through the Narrows about
eleven o’clock, but we soon lost sight of them under the shadow of
the opposite shore. We saw nothing more of them, and I concluded
that the dummy, with her bright light on the shore, had prevented
another attack upon the railroad. After this all was quiet, and there
was nothing to get up an excitement upon.
The next day I was rather sleepy at times, and so was Faxon. At
eight o’clock the major appeared, and I told him we had probably
prevented another raid upon the road, for we had seen a fleet of
boats pass through the Narrows.
“All right, Wolf; I am glad we balked the scoundrels,” answered
the major; and almost anything seemed to be a victory to the great
man of Middleport.
“I suppose they will try again some other time,” I added.
“We will see that they don’t succeed. Now we must push along
the road as fast as we can. I don’t like to disappoint the boys, but I
can’t wait for them to build the rest of it.”
I could not help smiling.
“What is it, Wolf?” he asked, smiling with me; and great men’s
smiles are sunshine to the heart.
“I don’t think they will cry if you don’t let them do any more.”
“Don’t you? Why, they begged me to let them do the work with
their own hands, and I have gratified them thus far.”
I soon convinced him that the boys were not anxious to do any
more digging, or to lay any more rails; that hard work was “played
out” with them. The magnate was delighted to hear it; and there
was no grumbling because the students were not called upon to use
the shovels and the hammers. I ran the dummy out with the men,
after that, every morning at seven o’clock, and the road progressed
rapidly towards Grass Springs.
At noon we heard astounding news from Centreport. All the
boats belonging to the Wimpleton Institute—not less than a dozen of
them—had mysteriously disappeared. No one knew what had
happened to them, and no one had heard anything in the night to
indicate what had become of them. Major Toppleton inquired very
particularly about the fleet of boats Faxon and I had seen; but our
information did not elucidate the mystery. I observed that my fellow-
engineer winked at me very significantly, as though he knew more
than he chose to tell.
“What did you wink for, Faxon?” I asked, when we started on our
trip, and were alone.
“You are blind as the major,” laughed he.
“What do you mean?”
“About forty of the Toppletonians found a way to get out of the
Institute last night. You won’t say a word about this—will you?”
“You had better not tell me, Faxon.”
“But I will tell you, for I don’t think the major or the principal will
say anything if the whole thing is blown. You know where the
quarries are, above Centreport, on that side.”
“Of course I do.”
“The Wimpleton boats, loaded with rocks, and the plugs taken
out, lie at the bottom of the lake, in twenty feet of water, off the
quarries. We are even with those fellows now for tearing up our
track.”
“That’s too bad!” I exclaimed.
“Too bad! It wasn’t too bad to tear up our track—was it?” replied
he, indignantly.
“Two wrongs don’t make a right,” I replied, sagely.
“But one evil sometimes corrects another—‘similia similibus
curantur,’ as our little-pill doctor used to say. The loss of their boats
will prevent the Wimps from coming over here again in the night to
cut up our road.”
I was a boy, like the rest of them; but I did not exactly enjoy this
“tit for tat” business. My mother had always taught me to exercise a
Christian spirit, and this “paying back” was a diabolical spirit. I would
not tell of these things, nor suffer my readers to gloat over them, if
any are disposed to do so—were it not to show how these two great
men, and all the little men who hung upon the skirts of their coats,
were finally reconciled to each other; and how, out of war and
vengeance, came “peace and good will to men.”
Before Miss Grace Toppleton’s birthday arrived the road was
finished to Sandy Beach, and the grand picnic took place. The two
platform cars had seats built upon them, and were attached to the
dummy. I conveyed about a hundred a trip until the middle of the
day, when all Middleport appeared to have been transported to the
grove. The affair was very elaborate in all its details. Tents, pavilions,
booths, and swings had been erected, and the Ucayga Cornet Band
was on the ground.
When I came in on the twelve o’clock trip, my father presented
himself at the door of the engine-room, his face wreathed in smiles.
My mother and sisters were present, for we were now regarded as
Middleporters.
“I will take care of this thing for a short time, Wolf, and you may
go and see the fun,” said my father.
“I don’t care about going now.”
“Oh, you must go; the people want to see you.”
Thus urged I entered the grove, and found myself before a
speaker’s stand, on which Major Toppleton was holding forth to the
people.
“Come here, Wolf!” called he. “I want to see you.”
A couple of the students seized me by the arms, and, dragging
me forward, actually forced me up the steps upon the speaker’s
stand. I blushed, was bewildered and confused.
“Three cheers for Wolf!” shouted Faxon; and they were given.
“Come forward, Wolf. The people want to see you,” added the
major, dragging me to the front of the stage.
I blushed, and tried to escape; and then the great man jumped
down, and left me alone on the platform. I took off my cap, and
bowed.
“Mr. Wolf.”
I turned. Miss Grace Toppleton was on the stage with me. I
looked at her with wonder.
“Mr. Wolf,” she continued, “the students of the Toppleton
Institute, grateful to you for your labors on the Lake Shore Railroad,
wish to present you this gold watch; and I assure you it affords me
very great pleasure to be the bearer of this token to you.”
She handed me the watch, and I took it, with a red face and a
trembling hand.
THE GIFT OF THE TOPPLETONIANS.—Page 274.
CHAPTER XXV.
WOLF’S SPEECH.

I was never so “taken aback” in my life as when I heard the silvery


voice of Miss Grace Toppleton, and saw the magnificent gift in
her hand. At any time I should have looked at her with interest; but
just then it seemed to me that the sun had ceased to shine, and all
the light which flowed down upon the brilliant scene around me
came from her beautiful face. I wished there was a hole in the
platform beneath me, through which I might sink out of sight; but
then, I am sure, if I had gone down into the gloom of the space
beneath me, I should instantly have wished myself back again; for I
was the hero of the occasion, and the soft eyes of Miss Grace were
fixed upon me.
As I listened to the silvery tones of the fair orator, I became
conscious that I was presenting a very awkward appearance. My
hands seemed to be as big as the feet of an elephant, and
altogether too large to go into my pockets. I did not know what to
do with them, or where to put them. I felt like a great clumsy booby.
But when the thought flashed upon me that Miss Grace was looking
at me, and that she must consider me a boorish cub, I felt the
necessity of doing something to redeem myself. When I was fully
conscious that she was observing me, I quite forgot that anybody
else was engaged in a similar occupation. I straightened up,
stiffened the quaking muscles in my frame, and permitted my
cumbrous hands to fall at my side, just as the professor of elocution
in the Wimpleton Institute had instructed me to do when I spoke “in
public on the stage.”
If the change of attitude produced no effect upon others, it did in
me, for I knew then that I looked like a civilized boy, and bore
myself with the dignity becoming the young engineer of the Lake
Shore Railroad. Miss Grace handed me the watch, and I took it with
my best bow. She finished her “neat little speech,” and, as her
silvery tones ceased, I was painfully conscious that something was
expected of me. It was a hard case. Clinging to the cow-catcher of a
locomotive going at thirty miles an hour was nothing to it. Again I
longed for a hole in the platform through which I might disappear
from the public gaze. But there was no hole in the platform, and no
chance to escape. The audience were heartily applauding the
presentation speech of Miss Grace; and I think the major was
prouder of her then than he had ever before been in his life.
While this demonstration was in progress, I tried to gather up my
thoughts for the mighty effort I was to make. A labored apology,
with something about being in a “tight place,” flashed upon my mind
as a suitable preface to my speech; but I almost as quickly decided
not to make any apology; for, since no one could suspect me of
being a speech-maker, I was not likely to fall below their
expectations as an orator. Before I had concluded what I should say,
or try to say, the applause ceased for an instant, and then the
Toppletonians began to shout, “Speech! Speech!”
If I could run an engine, there was no good reason why I should
not make a speech. I had something to say, and all I had to do was
to say it. Really it seemed to be the simplest thing in the world, and
I determined to “go in,” however I might come out of it. In a word, I
was resolved to put it “through by daylight.”
“Miss Grace Toppleton,” I began, and the uttering of the whole
name seemed to afford me a grateful respite of some fraction of a
second in which to gather up the next idea. “I am very much obliged
to the students of the Toppleton Institute for this beautiful gift. A
gold watch is something I never expected to have. I didn’t think of
anything of this kind when I came in here, and for that reason I was
very much surprised. I shall always keep this watch, and, whenever
I look at its face, it will remind me of the generous fellows who gave
it to me. I shall”—
I was interrupted by a burst of rapturous applause from the
students; and while I was waiting for it to subside, I was satisfied
that I was doing very well.
“I shall endeavor, with the help of this watch, always to be on
time; and I hope I shall be able to do my duty to the officers and to
the liberal patron of the Lake Shore Railroad. Miss Toppleton, I am
very grateful to all the good fellows who have given me this splendid
watch; and though I don’t believe in wearing two faces, I shall never
look at the face of this watch without thinking of another face—the
face of the one who so prettily presented it.”
“Good! Good!” shouted the students; and another round of
applause encouraged me in my arduous task.
“I shall always prize this watch,” I continued, glancing at the
beautiful time-keeper, “for the sake of those who gave it to me; and
I am sure I shall give it a double value because of the fair hands
from which it passed into my own. With ten thousand thanks for the
beautiful gift, I shall try to perform my duty better than ever before;
and whatever work is given me to do, I shall put it through by
daylight.”
I made my best bow again, and retired from the stage amid a
storm of applause. As Miss Grace followed me, I helped her down
the steps. The pleasant, arch smile she bestowed upon me made me
feel that I had not said anything which she disliked.
“Mr. Wolf, you are quite a speech-maker,” said she.
“I don’t know; I never did any such thing before,” I replied,
blushing like a little girl.
“You did it real well, Mr. Wolf; and when they don’t want you to
run the engine, you must go to Congress.”
“If I had only known what was going on, I should have got ready
for it, and shouldn’t have felt quite so sheepish.”
“That would have spoiled the whole. You did splendidly. Now let
me fasten the chain to your vest, and see how you look with the
watch on.”
She took the watch from my hand, adjusted the chain in a
button-hole of my vest with her own fair hands, and I could hardly
resist the temptation to do or say something intensely ridiculous; but
I did resist it, and only thanked her as coolly as I could for the
service. Major Toppleton came up and congratulated me on my
speech. I think they did not expect me to be able to say anything,
and perhaps some of the students would have enjoyed the scene
quite as much if I had broken down completely. But I am confident
that all the compliments I received were based upon the very
meagre expectations of my intelligent audience.
The students used me very handsomely, and for the time did not
put on any airs. They treated me as an equal, and even Tommy
Toppleton was as gracious as though I had been the scion of a great
house like his own. Miss Grace walked with me to the refreshment
tables, and while the band, whose leader seemed to be an awful
satirist, wickedly played, “Hail to the Chief,” I partook of chicken
salad, cake, and ice-cream, being actually waited upon by the fair
oratorical divinity who had presented me the watch. I was afraid she
would scold me for saying that I should think of her face whenever I
looked at the face of the watch; but she did not, and I suppose she
regarded the daring expression as a piece of “buncombe” tolerated
by the license of such an occasion.
I spent an hour in the most agreeable manner in the Sandy
Beach Grove; indeed, the whole scene is still a bright spot in my
memory. But I was obliged to return to the dummy, for after all I
was only a poor boy, an employee of the magnate of Toppleton. I
was out of place at the feast and the revel; but I was very grateful
to the students, and to all the people, especially Miss Grace
Toppleton, who had treated me with such “distinguished
consideration.” I resumed my place on the engine, and as there were
a great many people to convey back to Middleport, I made quick
trips, and literally succeeded in putting them all “through by
daylight.”
After I had put up the dummy for the night, I went over to
Centreport with my father, mother, and sisters in the major’s sail-
boat, which he placed at my disposal for the purpose. I had never
seen my parents so happy before. If they were proud of me, I could
afford to forgive them for it. We had almost forgotten that the cloud
of misfortune had ever lowered above us. My father had not tasted a
drop of liquor since the fatal day on which he had lost his money,
and this was enough to make us all happy, without any of the other
pleasant events which had gladdened our hearts. God had been very
merciful to us, and had turned the wrath of man into blessings for
us, and I am sure we were all grateful to him for his goodness.
Nothing definite had been heard from Christy Holgate, but it was
believed that he had gone to the South. A close watch was kept
upon his family in Ucayga; for it was supposed that he would send
for them, and it was hoped that their movements would enable the
officer in charge of the case to ascertain his present residence. My
father despaired of ever hearing from the runaway or the money,
and all agreed that it would be but a poor satisfaction to have the
wretch sent to the state prison for even a short term.
We walked from the mill wharf up to the house after I had
securely moored the sail-boat. We were still talking over the pleasant
events of the day, and for the third time I had showed my watch to
my sisters, who were prouder of it than I was. As we approached
the house, I saw Captain Synders sitting on the fence, and
apparently waiting for the return of my father or myself. I could not
believe that he had any business with me, for Colonel Wimpleton
had paid the honest skipper for the destruction of his boat, and
nothing had been said for a week about arresting me for taking part
in the mischief.
“I’m waiting for you, Mr. Penniman,” said Synders, as we went up
to the gate.
“I hope you haven’t had to wait long,” replied my father, gently.
“Long enough,” added the constable, gruffly.
“What can I do for you?” inquired my father, rather anxiously, I
thought, though his face wore a good-natured smile.
“Nothing for me, but you can do something for Colonel
Wimpleton.”
“What can I do for him?”
“Pay the note of two thousand dollars which was due at noon to-
day,” continued Synders, maliciously.
“Colonel Wimpleton knows very well that my money was stolen
from me, and that I cannot pay him,” replied my father.
“It’s nothing to him that your money was stolen. You must pay
the note.”
“I can’t do that.”
“Well, we know you didn’t do it, and this afternoon the colonel
foreclosed the mortgage. I’m here to give you notice of it, and to
warn you out of the house.”
“Does he mean to turn me out to-night?” asked my father.
“I shall give you legal notice to quit, before witnesses.”
“I will pay rent for the house,” suggested my father.
“That won’t do,” answered Synders, shaking his head. “The
house must be sold after legal notice has been given; and in my
opinion it won’t bring a dollar over the mortgage, under the
hammer.”
“Well, I can’t help myself,” added my father, gloomily.
“You made a bad mistake when you turned upon the colonel,”
sneered the officer.
“I didn’t turn upon him; but we will not talk about that.”
My father was very much depressed at the thought of losing the
thousand dollars which he had invested in his house. All he had
saved was to be swept away from him. The constable procured his
witnesses, served his legal notices, and went away chuckling over
the misery he left behind him. Doubtless he exaggerated the
confusion and dismay of my father when he reported his doings to
his employer, and the great man gloated proportionally over the
wreck he was making.
CHAPTER XXVI.
THE AUCTION SALE.

M y father was very unhappy, and my mother was afraid he


would again resort to the cup for solace in his misfortune. I do
not know what she said to him; but he treated her very tenderly,
and never was a woman more devoted than she was during this
threatening misfortune. My father was again a poor man. All that he
had of worldly goods was to be stripped from him to satisfy the
malice of his hard creditor. He was too proud to apply to Major
Toppleton for assistance, believing that he would have nothing to do
with property on the other side of the lake.
I continued to run the dummy, and was so happy as to keep on
the right side of the major, his son, and the students. Before the
expiration of the legal notice, my father hired a small house in
Middleport, and we moved into it. It was only a hovel, compared
with the neat and comfortable dwelling we had occupied in
Centreport, and the change was depressing to all the members of
the family. My father’s place was advertised to be sold, and as the
day—which looked like a fatal one to us—drew near, we were all
very sad and nervous. Nothing had yet been heard of Christy; and
the case was a plain one. The thousand dollars saved from the
earnings of the debtor was to be sacrificed. No man in Centreport,
however much he wanted the house, would dare to bid upon it.
My father desired to attend the sale, perhaps hopeful that his
presence might induce some friend of other days to bid a little more
for the place. My mother did not wish to have him attend the
auction; but as he insisted, she desired that I should go with him. I
had no wish to be present at the humiliating spectacle, or to endure
the sneers and the jeers of the Centreporters; but I decided to go,
for my presence might be some restraint upon my father, if his
misfortunes tempted him to drink again. I applied to Major
Toppleton for leave of absence for my father and myself on the day
of the sale. My father had engaged a man to take his place, and
Faxon could now run the dummy.
“What’s going on over there?” asked the major, after he had
consented to the absence of both of us.
“My father’s place is to be sold at auction. Colonel Wimpleton has
foreclosed the mortgage,” I replied.
“How much has your father paid on the house?”
“He paid a thousand dollars down; and the mortgage is for two
thousand. He would have paid the note when it was due, but his
money was stolen from him.”
“I remember about that,” added the major, musing. “Will the
place bring enough at auction to enable your father to get back the
thousand dollars he paid?”
“No, sir; we don’t expect it will bring anything over the mortgage.
Colonel Wimpleton means to punish my father by ruining him, and
none of the Centreport people will dare to bid on the place.”
He asked me several questions more, and I told him as well as I
could how the matter stood. I was hoping most earnestly that he
would offer to advance the money to pay off the mortgage; but just
as my expectations reached the highest pitch, a gentleman
interrupted the conversation, and the major went off with him in a
few moments, having apparently forgotten all about the subject. My
hopes were dashed down. I conveyed all the students out to Sandy
Beach in the dummy that afternoon, and brought them back; but I
was so absorbed in our family affairs that I hardly knew what I was
doing.
At one o’clock the next day, I went over to Centreport with father
to attend the sale. He was very nervous, and I was hardly less so. At
the appointed time, a large collection of people gathered around the
house. A red flag was flying on the fence, and all the company
seemed as jovial as if they were assembled for a picnic, rather than
to complete the ruin of my poor father. Hardly any one spoke to us;
but I saw many who appeared to be talking about us, and enjoying
the misery we experienced at the prospect of seeing our beloved
home pass into other hands.
Colonel Wimpleton was there, and so was Waddie. Both of them
seemed to be very happy, and both of them stared at us as though
we had no right to set foot on the sacred soil of Centreport. Others
imitated their illustrious example, and we were made as
uncomfortable as possible. In our hearing, and evidently for our
benefit, a couple of men discussed their proposed bids, one
declaring that he would go as high as fifteen dollars, while the other
would not be willing to take the place at so high a figure. Finally, the
colonel, after passing us a dozen times, halted before my father.
“I suppose you have come over to bid on the place, Ralph,” said
he.
“No, sir; I have nothing to back my bid with,” replied my father,
meekly.
“You had better bid; I don’t think it will bring more than fifteen or
twenty dollars over the mortgage,” chuckled the magnate.
“It ought to bring fifteen hundred,” added my father. “I was
offered that for it once.”
“You should have taken it. Real estate is very much depressed in
the market.”
“I should think it was; and I’m afraid Centreport is going down,”
answered my father, with a faint smile.
“Going down!” exclaimed the great man, stung by the reflection.
“Any other piece of property in Centreport would sell a hundred per
cent. higher than this.”
“I suppose so!” ejaculated my poor father, fully understanding
the reason why his place was to be sacrificed.
The auctioneer, who had mounted the steps of the front door,
interrupted the conversation. He stated that he was about to sell all
the right, title, and interest which Ralph Penniman had in the estate
at twelve o’clock on a certain day, described the mortgage, and
called for a bid.
“Twenty-five cents,” said a colored man in the crowd.
The audience gave way to a hearty burst of laughter at the
richness of the bid.
“Thirty cents,” added Colonel Wimpleton, as soon as the noise
had subsided.
The auctioneer dwelt on it for a moment, and then the colored
man advanced to thirty-one cents. By this time it was clear to us that
these proceedings were a farce, intended to torment my father. I
had never endured agonies more keen than those which followed
these ridiculous bids, as I became conscious that my father was the
butt of the company’s derision. The colonel, more liberal than the
negro, went up to thirty-five cents; whereupon the latter advanced
another cent, amid the laughter and jeers of the assembly. Thus it
continued for some time, the colored man, who had doubtless been
engaged to play his part, going up one cent and the great man four.
Others occasionally bid a cent or a half-cent more; and half an hour
was consumed in windy eloquence by the auctioneer, and in cent
and half-cent bids, before the offer reached a dollar.
“One dollar and five cents,” said Colonel Wimpleton, at this point.
“One dollar and six cents,” promptly responded the negro.
“One dollar and six cents is bid for this very desirable estate,”
added the auctioneer. “Consider, gentlemen, the value of this
property, and the circumstances under which it is sold. Every dollar
you bid goes into the pocket of the honest and hard-working
mortgagor.”
“One dollar and ten cents,” said the colonel, as if moved by this
appeal.
“Dollar ’leven,” added the negro.
“Consider, gentlemen, the situation of the unfortunate man
whose interest in this property I am selling.”
“Dollar fifteen,” said the colonel.
“Dollar fifteen and a half,” persisted the negro, amid roars of
laughter.
“One thousand dollars,” said some one in the rear of the crowd,
in a loud, clear tone.
If the explosion of the honest skipper’s canal boat, which had
been the indirect cause of the present gathering, had taken place in
the midst of the crowd, it could not have produced greater
amazement and consternation than the liberal bid of the gentleman
on the outskirts of the assemblage. It was a bombshell of the first
magnitude which burst upon the hilarious people of Centreport, met,
as it seemed to me, for the sole purpose of sacrificing my poor
father. I recognized the voice of the bidder.
It was Major Toppleton.
I had not seen him before. I did not know he was present. I
afterwards learned that he arrived only a moment before he made
the bid, and only had time to perceive the nature of the farce which
was transpiring before he turned it into a tragedy.
“Dollar fifteen and a half,” repeated the auctioneer, so startled
that he chose not to take the astounding bid of the magnate of
Middleport.
“I bid one thousand dollars,” shouted Major Toppleton, angrily, as
he forced his way through the crowd to the foot of the steps where
the auctioneer stood.
“One thousand dollars is bid,” said the auctioneer, reluctantly.
I looked at Colonel Wimpleton, who stood near me. His face was
red, and his portly frame quaked with angry emotions. My father’s
property in the house was saved. We looked at each other, and
smiled our gratitude.
“Toppleton must not have the property,” said Colonel Wimpleton
to his lawyer, who stood next to him, while his teeth actually grated
with the savage ire which shook his frame. “He will put a nuisance
under my very nose. Eleven hundred,” gasped the great man of
Centreport, with frantic energy; and he was so furious at the
interference of the major that I do not think he knew what he was
about.
“Twelve hundred,” added Major Toppleton, quietly, now that this
bid had been taken.
“Thirteen,” hoarsely called the colonel.
“Fourteen.”
“Fifteen.”
The crowd stood with their mouths wide open, waiting the issue
with breathless eagerness. The auctioneer repeated the bids as he
would have pronounced the successive sentences of his own death
warrant. Colonel Wimpleton had by this time forgotten all about my
father, and was intent only on preventing his great enemy from
buying the estate.
“Sixteen,” said the major, who, seeing the torture he was
inflicting upon his malignant rival, was in excellent humor.
“Seventeen,” promptly responded Colonel Wimpleton.
“Eighteen.”
“Nineteen,” gasped the colonel.
“Two thousand.”
“Twenty-one hundred,” roared the colonel, desperately.
“Twenty-two,” laughed the major.
The colonel was listening to the remonstrance of his lawyer, and
the auctioneer was permitted to dwell on the last bid for a moment.
“Twenty-three!” shouted the colonel.
“Twenty-three hundred dollars—twenty-three, twenty-three,
twenty-three,” chipped the auctioneer, with professional formality,
when the major did not instantly follow the last bid. “Going at
twenty-three hundred! Are you all done?”
“Knock it off!” growled the colonel, savagely, but in a low tone.
“Going at twenty-three hundred—one—two—three—and gone, to
Colonel Wimpleton, at twenty-three hundred,” added the auctioneer,
as he brought down his hammer for the last time.
“Pretty well sold, after all,” said the major to me, as he rubbed
his hands.
“Yes, sir; thanks to you, it is very well sold,” I replied, running
over with joy at the unexpected termination of the farce.
Colonel Wimpleton swore like a pirate. He was the maddest man
on the western continent.
“Colonel, if you are dissatisfied with your bargain, I shall be
happy to take the property at my last bid,” said the major as he
walked out into the road.
I will not repeat what the great man of Centreport said in reply,
for it was not fit to be set down on clean, white paper. My father and
I crossed the lake, and went home with the good news to my
mother, who was anxiously waiting to hear the result. Whatever joy
she experienced at the good fortune of my father, she was too good
a woman to exult over the quarrels of the two great men.
“I think Colonel Wimpleton will not try to punish me any more,”
said my father. “He pays eight hundred dollars more than I was
offered for the place. If he is satisfied, I am.”
The next day the twenty-three hundred dollars, less the expenses
of the sale, was paid over to my father. He had already cast longing
eyes upon a beautiful estate on the outskirts of the town of
Middleport, having ten acres of land, with a fine orchard; but the
owner would not sell it for less than five thousand dollars. The fruit
upon the place would more than pay the interest of the money; and,
as soon as he had received the proceeds of the sale, he bought the
estate, paying two thousand down, and giving a mortgage for three
thousand. We moved in immediately. The house was even better
than that we had occupied in Centreport, and I assure the reader, in
concluding my story, that we were as happy as any family need be
left at the end of a last chapter.
Of the Lake Shore Railroad I have much more to say, in other
stories which will follow. The road was soon completed to Grass
Springs, thirteen miles from Middleport, and I ran the dummy to that
point during the autumn. In due time we had a regular locomotive
and cars, and ran to Ucayga, where we connected with a great line
of railway between the east and the west. We had a great deal of
trouble with the Wimpletonians, and the Centreporters generally, of
which something will be said in my next story—“Lightning Express, or
The Rival Academies.”
The Toppletonians continued to treat me very kindly, and I did
my best for them. Our family troubles appeared to be all ended. My
father was as steady as he had ever been, and though we heard
nothing from Christy, we were on the high road to prosperity. Miss
Grace Toppleton was frequently a passenger in the dummy, and I
must add that she was always very kind and considerate to me. I am
sure her smile encouraged me to be good and true, and to be
faithful in the discharge of my duty; or, in other words, to put it
Through by Daylight.
THE NORWOOD SERIES

Newly arranged Standard Collection of


History, Biography, Heroism, and Adventure
Fifty favorites in new series New
uniform cover design Attractive dies Fine
cloth binding Illustrated Price per
volume $1
This series can truly be said to cover
the world in its scope, as it chronicles
heroic and daring exploits in all climes, told
by an exceptionally strong list of authors.
In addition we have included the full line of
George Makepeace Towle’s famous “Heroes
of History” and the ever popular Headley
biographies. It is just the library to entertain and inform a live boy,
and while composed of books that arouse eager interest is wholly
free from cheap sensationalism.

1. Andersen, Hans Christian—The Sand Hills of Jutland


2. Armstrong, F. C.—The Young Middy
3. Barrows, Rev. William—Twelve Nights in a Hunter’s Camp
4. Ballantyne, R. M.—The Life Boat
5. Brehat, Alfred de—The French Robinson Crusoe
6. Cozzens, Samuel W.—The Young Silver Seekers
7. Clarke, Mary Cowden—Yarns of an Old Mariner
8. De Mille, Prof. James—Among the Brigands
9. The Lily and the Cross
10. The Winged Lion or Stories of Venice
11. Farrar Capt. Charles A. J.—Down the West Branch or Camps
and Tramps around Katahdin
12. Eastward Ho! or Adventures at Rangeley Lakes
13. Up the North Branch A Summer’s Outing
14. Wild Woods Life or A Trip to Parmachenee
15. Frost, John, LL.D.—Wild Scenes of a Hunter’s Life
16. Hall, Capt. Charles W.—Twice Taken A Tale of Louisburg
17. Harley, Dr.—-The Young Crusoe or Adventures of a
Shipwrecked Boy
18. Headley, P. C.—Facing the Enemy The Life of Gen Wm.
Tecumseh Sherman
19. Fight It Out on This Line The Life and Deeds of Gen U. S.
Grant
20. Fighting Phil The Life of Gen. Philip Henry Sheridan
21. Old Salamander The Life of Admiral David G. Farragut
22. Old Stars The Life of Gen. Ormsby M. Mitchell
23. The Miner Boy and His Monitor The Career of John
Ericsson, Engineer
24. Kingston, W. H. K.—Anthony Waymouth
25. Ernest Bracebridge or School Boy Days
26. The Adventures of Dick Onslow among the Redskins
27. The Cruise of the Frolic
28. Lee, Mrs. R.—The African Crusoes
29. The Australian Wanderers
30. McCabe, James D., Jr—Planting the Wilderness
31. Macy, William H.—The Whales We Caught and How We Did It
32. Morecamp, Arthur—Live Boys or Charlie and Nasho in Texas
33. Live Boys in the Black Hills or the Young Texas Gold
Hunters
34. Pearson. Dr. C. H.—The Cabin on the Prairie
35. The Young Pioneers of the Northwest
36. Rowcroft, Charles—The Australian Crusoes
37. St. John, Percy B.—The Arctic Crusoe Adventures on the Sea
of Ice
38. Towle, George Makepeace—Drake the Sea King of Devon
39. Magellan or The First Voyage around the World
40. Marco Polo His Travels and Adventures
41. Pizzaro His Adventures and Conquests
42. Raleigh His Voyages and Adventures
43. Vasco da Gama His Voyages and Adventures
44. The Heroes and Martyrs of Invention
45. Verne, Jules—A Winter in the Ice
46. Around the World in Eighty Days
47. The Wreck of the Chancellor
48. Wraxhall, Sir Lascelles—Golden Hair A Tale of the Pilgrim
Fathers
49. The Prairie Crusoe or Adventures in the Far West
50. Willis the Pilot A Sequel to the Swiss Family Robinson

LEE and SHEPARD Publishers Boston


Transcriber’s Note
Punctuation and other obvious typographic inconsistencies and
inaccuracies were silently corrected.
Archaic and variable spelling has been preserved.
Variations in hyphenation and compound words have been preserved.
New original cover art included with this eBook is granted to the public
domain.

Corrections

pp. 43, 45, 47, 58, 198: had drank to had drunk
p. 49, seach to search
p. 77: ably to able
p. 226 illustration: FOR to FROM
p. 249: had not drank to had not drunk
p. 276: forget to forgot
*** END OF THE PROJECT GUTENBERG EBOOK THROUGH BY
DAYLIGHT ***

Updated editions will replace the previous one—the old editions will
be renamed.

Creating the works from print editions not protected by U.S.


copyright law means that no one owns a United States copyright in
these works, so the Foundation (and you!) can copy and distribute it
in the United States without permission and without paying
copyright royalties. Special rules, set forth in the General Terms of
Use part of this license, apply to copying and distributing Project
Gutenberg™ electronic works to protect the PROJECT GUTENBERG™
concept and trademark. Project Gutenberg is a registered trademark,
and may not be used if you charge for an eBook, except by following
the terms of the trademark license, including paying royalties for use
of the Project Gutenberg trademark. If you do not charge anything
for copies of this eBook, complying with the trademark license is
very easy. You may use this eBook for nearly any purpose such as
creation of derivative works, reports, performances and research.
Project Gutenberg eBooks may be modified and printed and given
away—you may do practically ANYTHING in the United States with
eBooks not protected by U.S. copyright law. Redistribution is subject
to the trademark license, especially commercial redistribution.

START: FULL LICENSE


THE FULL PROJECT GUTENBERG LICENSE
Welcome to our website – the ideal destination for book lovers and
knowledge seekers. With a mission to inspire endlessly, we offer a
vast collection of books, ranging from classic literary works to
specialized publications, self-development books, and children's
literature. Each book is a new journey of discovery, expanding
knowledge and enriching the soul of the reade

Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.

Let us accompany you on the journey of exploring knowledge and


personal growth!

ebookfinal.com

You might also like