By K.N. King

ISBN-10: 0669110914

ISBN-13: 9780669110913

Publication by way of K.N. King

Show description

Read or Download Modula-2 : a complete guide PDF

Similar protocols & apis books

Download e-book for kindle: GPRS : gateway to third generation mobile networks by Gunnar Heine

This cutting edge new booklet, from top specialists Gunnar Heine and Holger Sagkob, explains how GPRS permits growth of current GSM networks to fulfill the calls for of recent cellular information purposes. It teaches you the way the packet information commonplace GPRS may help to extend your community in the direction of 3rd new release, assembly the calls for of the most-sophisticated cellular facts functions.

Communications and Networking: An Introduction by John Cowley PDF

This textbook provides an in depth advent to the necessities of networking and communications applied sciences. Revised and up-to-date, this re-creation keeps the step by step process of the unique, organised to aid these and not using a powerful wisdom of the subject material. gains: offers chapter-ending summaries and overview questions, an Appendix on TCP/IP packet codecs and an accelerated word list; offers supplementary fabric on the linked Springer site, together with instructing slides, options to the end-of-chapter questions and supplementary workouts with recommendations; offers a better emphasis on cellular computing and community safety, and prolonged insurance of IPv6 (NEW); discusses networking versions and criteria, neighborhood quarter and vast sector networks, community protocols, TCP/IP-based networks, community administration and instant communications; examines grid and cloud computing, microblogging, cellular advert hoc networks, near-field communique, energy over Ethernet and the floor Positioning process (NEW).

Extra info for Modula-2 : a complete guide

Example text

The index type of the array A is the subrange [1. 9] OF CHAR; By convention, Modula-2 strings have 0 as the lower index bound (Pascal requires a lower bound of 1). Pascal’s strings must be packed arrays; Modula-2 does not allow arrays (or records or sets, for that matter) to be declared packed. A record is a collection of values, possibly of different types, whose compo­ nents are accessed by name: TYPE CharCount = RECORD ch: CHAR; count: CARDINAL END; A variable r e c of type C harC ount is a structure with two components, one of type CHAR and one of type CARDINAL.

The number 1 in WriteCard (power, 1) is analogous to the “field width” of Pascal’s write and writeln procedures: it indicates that the value of power should be written in a field of size 1 (or more if necessary). Specifying a value of 1 causes power to be written without leading blanks. ■ In Pascal, the body of the FOR statement would be enclosed between the words b e g in and end, because it consists of several statements. Modula-2 instead adopts the rule that the body of a FOR statement is always terminated by the word END (even if it consists of a single statement) but never preceded by the word BEGIN.

Modules act as walls: Entities declared inside a module are not visible outside the module unless the module voluntarily exports them. In order for another module to gain access to any of these exported entities, the module must import the entity. A program module may import from any number of library modules; these modules, in turn, may import from other library modules. Thus, a complete Mod­ ula-2 program consists of a set of interconnected modules, with one — the pro­ gram module — serving as the main program.

Download PDF sample

Modula-2 : a complete guide by K.N. King

by Daniel

Rated 4.83 of 5 – based on 12 votes