M Programming: A Comprehensive Guide
eBook - ePub

M Programming: A Comprehensive Guide

  1. 407 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

M Programming: A Comprehensive Guide

About this book

M Programming: A Comprehensive Guide is a complete update to ABCs of MUMPS. While ABCs of MUMPS was an introduction for novice and intermediate M programmers, M Programming: A Comprehensive Guide has a new section containing advanced material. This new section addresses features such as transaction processing, networking, structured system variables, and interfaces to other standards. Five new chapters have been added, covering an overview of M for readers familiar with other languages; M and the Windows environment; interaction between M and the underlying system; transaction processing; interfacing M with other standards; and error handling. Sections on interactive programming and futures have been extensively updated. M Programming: A Comprehensive Guide is an invaluable resource for everyone who is learning or using M.¡ Includes section on advanced programming¡ Completely updated for the 1995 standard

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access M Programming: A Comprehensive Guide by Richard Walters in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming. We have over one million books available in our catalogue for you to explore.

Information

Part I
M for the Novice Programmer
1

A Brief Introduction to Computers

The purpose of this chapter is to provide an introduction to computers that will set the stage for writing computer programs. Its goal is to present information that will enable a novice to understand a little more about what goes on inside a computer as it affects one’s ability to control the operations of the machine. In other words, instead of describing what a computer can do for you, this chapter helps you to understand how a computer does things for you, and it sets the stage to allow you, the user, to tell the computer how to do new and different things for you – things that you yourself will tell it to do.
In order to make sure that each reader has the same understanding of basic concepts of computers, this presentation begins at a very primitive level in describing computers. However, if you have not programmed a computer before, you may do well to read the entire chapter, because the information is presented in a different way from conventional texts.
So relax, be patient, and see if you can find some elements in the next few pages that are new to you as you also learn what it is that we will be concentrating on in the remainder of the book: writing programs to instruct the computer to do our bidding.
Note to Experienced Programmers: This chapter summarizes the principal components of computers and describes the concepts of hardware, software, operating systems, applications packages, and programming languages, both interpreted and compiled. Anyone with experience in programming will already be familiar with most of the material presented in this chapter and should skip directly to Chapter 2.

Basic components of computers

Human beings have used aids to help count and perform arithmetic since the beginning of recorded history. Fingers were used before that, and no doubt pebbles, sticks or other objects served similar purposes. A fascinating account of how our use of numbers evolved may be found in Karl Menninger’s Number Words and Number Symbols (MIT Press, 1969). The abacus, developed in the Orient, appeared some time in the last few hundred years (more recently than most people realize). Mechanical calculating devices used by the ancient Greeks have been recovered from the floor of the Aegean Sea, and a number of interesting calculating aids were developed during the Renaissance and later in our pre-electronic history.
One of the important historical contributions shortly after 1800 was the invention of a loom that could be instructed to print complex patterns without setting the threads manually. This loom, called the Jacquard loom in honor of its inventor, revolutionized weaving and created one of the first dire predictions that automation would drive humans out of useful work. An important concept in that invention was the idea of a set of instructions stored on wooden paddles that were fed into the loom’s insides to program the movement of threads to produce specific patterns. This invention contained the beginnings of what computers do. First, we have some hardware (in this case a loom), which is instructed how to behave by a program, in this case produced by externally stored codes that were fed into the loom to produce the output of a consistent pattern. A very few years later, an Englishman named Babbage conceived of a notion whereby the same sorts of instructions could be stored inside his “analytical engine” to perform calculations. From his work came the idea of a stored program, a fundamental concept in computers today. Unfortunately, the machine tools for constructing hardware in the mid-1800s were not sufficiently precise to turn Babbage’s concepts into reality, and his work languished after several unsuccessful attempts.
Not much happened from the mid-1880s until World War II, by which time electronics had been discovered and advanced to the point where it was possible to perform electronically what Babbage had tried to do mechanically. The old vacuum tubes used in early computers were not too reliable, but they were all that was needed to take the fundamental concepts and implement them in “hardware” that would work, at least some of the time. Since the 1940s, the progress of computing technology has been truly staggering, as all of us know. A Time Magazine article on the “Man of the Year” in 1982 (actually the...

Table of contents

  1. Cover image
  2. Title page
  3. Table of Contents
  4. Digital Press Editorial Board
  5. Copyright
  6. Dedication
  7. Foreword
  8. Preface
  9. Acknowledgments
  10. Part I: M for the Novice Programmer
  11. Part II: M for the Experienced Programmer
  12. Answers to Selected Exercises
  13. Index