Skip to main content

Block Structure, Scope of Objects

  • Chapter
Introduction to PEARL

Part of the book series: Programm Angewandte Informatik ((SV))

  • 49 Accesses

Abstract

Blocks are used to structure the bodies of tasks and procedures and to influence the scope and lifetime of PEARL objects (data, procedures, etc.). A block is a comprehension of declarations and statements:

$${\text{block}}:: = BEGIN{\text{(/ declaration}}{{\text{ }}^{...}}{\text{ /) (/ statement}}{{\text{ }}^{...}}{\text{ /) }}END{\text{;}}$$

Blocks are statements; therefore they may be used only within bodies of tasks and procedures. Blocks may be nested. A block is entered by execution of BEGIN; the block is left by execution of the corresponding END or by execution of a jump to a label outside of the block. Jumps into a block are forbidden.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 54.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 1982 Friedr. Vieweg & Sohn Verlagsgesellschaft mbH, Braunschweig

About this chapter

Cite this chapter

Werum, W., Windauer, H. (1982). Block Structure, Scope of Objects. In: Introduction to PEARL. Programm Angewandte Informatik. Vieweg+Teubner Verlag, Wiesbaden. https://doi.org/10.1007/978-3-322-85763-7_14

Download citation

  • DOI: https://doi.org/10.1007/978-3-322-85763-7_14

  • Publisher Name: Vieweg+Teubner Verlag, Wiesbaden

  • Print ISBN: 978-3-528-03590-7

  • Online ISBN: 978-3-322-85763-7

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics