Virtual Pascal User's Guide

Total Page:16

File Type:pdf, Size:1020Kb

Virtual Pascal User's Guide User’s Guide for Virtual Pascal v2.1 containing Introduction Installation Virtual Pascal Features Compatibility with Borland Pascal and Delphi The VP User Interface Writing programs using VP Configuration and tools Debugging programs with VP VP example programs Extending Virtual Pascal Index Copyright © 1996-2000 by Allan Mertner. All rights reserved. All brand names and product names are trademarks or registered trademarks of their respective holders. For further information, please refer to http://www.vpascal.com/. Produced in the European Union. Contents 3 CHAPTER 1.............................................................................................7 INTRODUCTION ...........................................................................................7 About this manual...................................................................................7 What is Virtual Pascal?..........................................................................7 History of development...........................................................................8 System Requirements..............................................................................9 Conventions used....................................................................................9 Contacting Product support.................................................................10 CHAPTER 2...........................................................................................11 INSTALLATION ..........................................................................................11 Running the installation program ........................................................11 The default installation options............................................................11 Component selection ............................................................................12 Drive selection......................................................................................12 Directory case ......................................................................................12 Installation directory............................................................................12 Source code and upgrades ...................................................................13 Finishing the installation .....................................................................13 Directory structure...............................................................................14 CHAPTER 3...........................................................................................16 VIRTUAL PASCAL FEATURES ....................................................................16 The two OS/2 IDE variants ..................................................................16 Key IDE Features.................................................................................16 The Debugger .......................................................................................................................18 Key Compiler Features ........................................................................20 The Run-Time Library..........................................................................22 The built-in linker, VPLink...................................................................23 Program Examples...............................................................................24 CHAPTER 4...........................................................................................26 COMPATIBILITY WITH BORLAND PASCAL AND DELPHI .............................26 Run-Time Library compatibility...........................................................26 Data Type Compatibility ......................................................................28 Integers .................................................................................................................................28 Reals .....................................................................................................................................29 Pointers.................................................................................................................................29 Classes ..................................................................................................................................29 Compiler directives ..............................................................................30 Built-in assembler (BASM)...................................................................30 Inline statements and inline subroutines..............................................31 Turbo Vision.........................................................................................31 Object Windows Library (OWL) ..........................................................32 Visual Component Library (VCL)........................................................32 Code generation ...................................................................................33 4 Contents CHAPTER 5...........................................................................................34 THE VP USER INTERFACE.........................................................................34 Starting the VP IDE..............................................................................34 Text-mode controls...............................................................................35 File associations...................................................................................36 Windows of the IDE..............................................................................36 Local Menus .........................................................................................................................36 The editor window: Colours .................................................................................................37 Cursor navigation .............................................................................................................37 Editing..............................................................................................................................38 Block operations...............................................................................................................38 Searching..........................................................................................................................39 Undo and Redo.................................................................................................................40 Other editor options..........................................................................................................40 Macros..............................................................................................................................40 Tools.................................................................................................................................41 Syntax Highlighting..........................................................................................................42 Getting Help..........................................................................................................................42 The menu bar ........................................................................................................................43 The VP/PM Smartbar ...........................................................................................................44 Configuring the IDE .............................................................................................................45 Options|Resource compiler...............................................................................................45 Options|Directories...........................................................................................................46 Options|Environment|Preferences.....................................................................................47 Options|Environment|Editor .............................................................................................48 Options|Environment|Mouse ............................................................................................50 Options|Environment|Colours...........................................................................................50 Options|Save options........................................................................................................50 CHAPTER 6...........................................................................................52 WRITING PROGRAMS USING VP ................................................................52 Writing your first program...................................................................52 Your second Virtual Pascal program...................................................53 For more information...........................................................................54 CHAPTER 7...........................................................................................55 CONFIGURATION AND TOOLS ....................................................................55 Changing settings in the IDE ...............................................................55 Options|Compiler..................................................................................................................55 Fastest setup .....................................................................................................................55 Smallest setup...................................................................................................................55
Recommended publications
  • Visual Component Library VCL Autor: I
    Visual Component Library VCL Autor: I. Stepanenko Fecha: Monday 27th of September 2021 04:09:10 PM VCL (Visual Component Library) es un marco de trabajo desarrollado por Borland basado en objetos visuales que tienen como finalidad diseñarframes para las aplicaciones que se han programado para Windows y diseñada bajo el concepto de componente: propiedades, métodos y eventos. Está estructuralmente y visualmente sincronizado con Windows, pues el aspecto de las ventanas, los botones o los accesos a internet, etc. son similares. Actualmente es propiedad de CodeGear, de Embarcadero Technologies. Está escrita en Object Pascal (orientado a objetos) por lo que la VCL es una librería usada por los entornos de desarrollo Delphi y C++ Builder. Al hablar de este tipo de bibliotecas o toolkits, se hace mención implícitamente a la programación orientada a objetos, pues los componentes son clases predeterminadas, haciendo su uso más sencillo, visual y cómodo. Se diferencian dos tipos de componentes. Componentes visuales Entre los visuales se distinguen los botones, las etiquetas, las formas y demás elementos visibles. Componentes no visuales Entre los no visuales están los temporizadores, las conexiones a bases de datos y demás elementos sin interfaz gráfica. Clases más importantes Aunque no todas las clases hacen referencia a componentes concretos algunas realizan tareas de gestión interna y se utilizan como clases bases de las cuales derivan otras clases mediante la herencia. VCL es bastante profundo y complicado; no obstante, las clases que forman la parte superior jerárquica son clases abstractas y son: Artículo descargado de www.masterhacks.net | 1 Visual Component Library VCL Autor: I.
    [Show full text]
  • Rapid Application Development Software | Codegear RAD Studio
    RAD Studio 2010 Product Review Guide August 2009 Corporate Headquarters EMEA Headquarters Asia-Pacific Headquarters 100 California Street, 12th Floor York House L7. 313 La Trobe Street San Francisco, California 94111 18 York Road Melbourne VIC 3000 Maidenhead, Berkshire Australia SL6 1SF, United Kingdom RAD Studio 2010 Reviewer Guide TABLE OF CONTENTS Table of Contents ............................................................................................................................ - 1 - Introduction ...................................................................................................................................... - 3 - General Overview of RAD Studio 2010 ...................................................................................... - 3 - What is New in RAD Studio 2010 ............................................................................................... - 3 - A Word on Delphi Prism ............................................................................................................. - 6 - Prerequisites ................................................................................................................................ - 7 - Minimum System Requirements ................................................................................................. - 7 - Internationalizations .................................................................................................................... - 7 - Editions ........................................................................................................................................
    [Show full text]
  • Using Gtkada in Practice
    143 Using GtkAda in Practice Ahlan Marriott, Urs Maurer White Elephant GmbH, Beckengässchen 1, 8200 Schaffhausen, Switzerland; email: [email protected] Abstract This article is an extract from the industrial presentation “Astronomical Ada” which was given at the 2017 Ada-Europe conference in Vienna. The presentation was an experience report on the problems we encountered getting a program written entirely in Ada to work on three popular operating systems: Microsoft Windows (XP and later), Linux (Ubuntu Tahr) and OSX (Sierra). The main problem we had concerned the implementation of the Graphical User Interface (GUI). This article describes our work using GtkAda. Keywords: Gtk, GtkAda, GUI 1 Introduction The industrial presentation was called “Astronomical Ada” because the program in question controls astronomical telescopes. 1.1 Telescopes The simplest of telescopes have no motor. An object is viewed simply by pointing the telescope at it. However, due to the rotation of the earth, the viewed object, unless the telescope is continually adjusted, will gradually drift out of view. To compensate for this, a fixed speed motor can be attached such that when aligned with the Earth’s axis it effectively cancels out the Earth’s rotation. However many interesting objects appear to move relative to the Earth, for example satellites, comets and the planets. To track this type of object the telescope needs to have two motors and a system to control them. Using two motors the control system can position the telescope to view anywhere in the night sky. Our Ada program (SkyTrack) is one such program. It can drive the motors to position the telescope onto any given object from within its extensive database and thereafter Figure 1 - SkyTrack GUI follow the object either by calculating its path or, in the The screen shot shown as figure 1 shows the SkyTrack case of satellites and comets, follow the object according to program positioning the telescope on Mars.
    [Show full text]
  • The Desktop (Overview)
    The desktop (overview) The desktop is the main screen area that you see after you turn on your computer and log on to Windows. Like the top of an actual desk, it serves as a surface for your work. When you open programs or folders, they appear on the desktop. You can also put things on the desktop, such as files and folders, and arrange them however you want. The desktop is sometimes defined more broadly to include the taskbar and Windows Sidebar. The taskbar sits at the bottom of your screen. It shows you which programs are running and allows you to switch between them. It also contains the Start button , which you can use to access programs, folders, and computer settings. On the side of the screen, Sidebar contains small programs called gadgets. The desktop, taskbar, and Sidebar Where did my desktop go? Because programs run on top of the desktop, the desktop itself is often partially or completely hidden. But it's still there, underneath everything. To see the whole desktop without closing any of your open programs or windows, click the Show Desktop button on the taskbar. The desktop is revealed. Click the icon again to restore all of your windows to the way they were. Desktop Training Session Handout Page 1 http://ict.maxwell.syr.edu/vista/ Working with desktop icons Icons are small pictures that represent files, folders, programs, and other items. When you first start Windows, you'll see at least one icon on your desktop: the Recycle Bin (more on that later).
    [Show full text]
  • Creating Document Hyperlinks Via Rich-Text Dialogs
    __________________________________________________________________________________________________ Creating Document Hyperlinks via Rich-Text Dialogs EXAMPLE: CREATING A HYPERLINK IN EXCEPTIONS/REQUIREMENTS: Enter the appropriate paragraph either by selecting from the Lookup Table or manually typing in the field, completing any prompts as necessary. Locate and access the item to be hyperlinked on the external website (ie through the County Recorder Office): Copy the address (typically clicking at the end of the address will highlight the entire address) by right click/copy or Control C: __________________________________________________________________________________________________ Page 1 of 8 Creating Hyperlinks (Requirements/Exceptions and SoftPro Live) __________________________________________________________________________________________________ In Select, open the Requirement or Exception, highlight the text to hyperlink. Click the Add a Hyperlink icon: __________________________________________________________________________________________________ Page 2 of 8 Creating Hyperlinks (Requirements/Exceptions and SoftPro Live) __________________________________________________________________________________________________ The Add Hyperlink dialog box will open. Paste the link into the Address field (right click/paste or Control V) NOTE: The Text to display (name) field will autopopulate with the text that was highlighted. Click OK. The text will now be underlined indicating a hyperlink. __________________________________________________________________________________________________
    [Show full text]
  • Chapter 2 3D User Interfaces: History and Roadmap
    30706 02 pp011-026 r1jm.ps 5/6/04 3:49 PM Page 11 CHAPTER 2 3D3D UserUser Interfaces:Interfaces: HistoryHistory andand RoadmapRoadmap Three-dimensional UI design is not a traditional field of research with well-defined boundaries. Like human–computer interaction (HCI), it draws from many disciplines and has links to a wide variety of topics. In this chapter, we briefly describe the history of 3D UIs to set the stage for the rest of the book. We also present a 3D UI “roadmap” that posi- tions the topics covered in this book relative to associated areas. After reading this chapter, you should have an understanding of the origins of 3D UIs and its relation to other fields, and you should know what types of information to expect from the remainder of this book. 2.1. History of 3D UIs The graphical user interfaces (GUIs) used in today’s personal computers have an interesting history. Prior to 1980, almost all interaction with com- puters was based on typing complicated commands using a keyboard. The display was used almost exclusively for text, and when graphics were used, they were typically noninteractive. But around 1980, several technologies, such as the mouse, inexpensive raster graphics displays, and reasonably priced personal computer parts, were all mature enough to enable the first GUIs (such as the Xerox Star). With the advent of GUIs, UI design and HCI in general became a much more important research area, since the research affected everyone using computers. HCI is an 11 30706 02 pp011-026 r1jm.ps 5/6/04 3:49 PM Page 12 12 Chapter 2 3D User Interfaces: History and Roadmap 1 interdisciplinary field that draws from existing knowledge in perception, 2 cognition, linguistics, human factors, ethnography, graphic design, and 3 other areas.
    [Show full text]
  • POWEROPT. Power Engineering Optimization Techniques Educational Software Library
    Available online at www.sciencedirect.com ScienceDirect Procedia - Social and Behavioral Sciences 191 ( 2015 ) 1790 – 1795 WCES 2014 POWEROPT. Power Engineering Optimization Techniques Educational Software Library Stefan Kilyenia, Constantin Barbulescua* aPolitehnica University Timisoara, Power Systems Department, 2 Bd. V, Parvan, 300223 Timisoara, Romania Abstract The power engineering field uses classic operational research methods and the most recent ones are based on artificial intelligence to solve a large number of optimization problems. In this context, this paper presents an optimization technique dedicated to an educational software library. It focuses on solving several optimization applications from the power engineering field. The software library is designed for students involved within the electrical power engineering field, at BSc and MSc levels. © 20152014 TheThe Authors. Authors. Published Published by by Elsevier Elsevier Ltd. Ltd This. is an open access article under the CC BY-NC-ND license (Selectionhttp://creativecommons.org/licenses/by-nc-nd/4.0/ and peer-review under responsibility of). the Organizing Committee of WCES 2014. Selection and peer-review under responsibility of the Organizing Committee of WCES 2014 Keywords:optimization techniques, educational software, power engineering. 1. Introduction The power engineering domain uses both models and classic methods of operational research and the most recent ones are based on artificial intelligence for solving a large number of optimization problems. In this context, this paper presents an optimization software library for the power engineering domain, to solve several applications. The programs use classic operational research methods dedicated for linear and nonlinear optimization problem solving and those specific to graphs theory. The software library synthesizes the experience accumulated in this field at the Politehnica University of Timisoara, Power Systems Department in Romania.
    [Show full text]
  • VERSION 2.0 Referene MANUAL
    VERSION 2.0 REFERENe MANUAL BORlAnD INTERNATIONAL Borland International 4113 Scotts Valley Drive Scotts Valley, California 95066 Copyright Notice© This software package and manual are copyrighted 1983, 1984 by BORLAND INTERNATIONAL Inc. All rights reserved worldwide. No part of this publication may be reproduced, transmitted, transcribed, stored in any retrieval system, or translated into any language by any means without the express written per­ mission of BORLAND INTERNATIONAL Inc., 4113 Scotts Valley Drive, Scotts Valley, CA 95066, USA. Single CPU License The price paid for one copy of TURBO Pascal licenses you to use the product on one CPU when and only when you have signed and returned the License Agreement printed in this book. Disclaimer Borland International makes no warranties as to the contents of this manual and specifically disclaims any implied warranties of merchantability or fitness for any particular purpose. Borland International further reserves the right to make changes to the specifications of the program and contents of the manual without obligation to notify any person or organization of such changes. Fifth edition, October 1984 Printed in the United States of America 98765 TABLE OF CONTENTS INTRODUCTION ............................................. 1 The Pascal Language .........................................1 TURBO Pascal ..............................................1 Structure of This Manual ..................................... 2 Typography ............................................... 3 Syntax Descriptions
    [Show full text]
  • M-Explorer User's Guide
    Table of Contents M-Explorer User’s Guide Table of Contents M-Explorer User’s Guide..............................................1 Chapter 1 Using This Guide.................................................................1-1 Introduction...................................................................................................... 1-1 Key Concepts................................................................................................... 1-2 Chapter Organization .....................................................................................................1-2 Online Help ....................................................................................................................1-2 Manual Conventions ......................................................................................................1-2 Chapter 2 Introduction to M-Explorer .................................................2-1 Introduction...................................................................................................... 2-1 Key Concepts................................................................................................... 2-2 System Component Interaction......................................................................................2-2 OPC Data Access Servers.............................................................................................2-2 M-Inspector ....................................................................................................................2-2 M-Password ...................................................................................................................2-3
    [Show full text]
  • TURBO Pascal Tutor·
    The TURBO Pascal Tutor· A Self-Study Guide to TURBO Pascal Copyright @1984 Copyright @1985 BORLAND INTERNATIONAL, INC. 4585 Scotts Valley Drive Scotts Valley, CA 95066 U.S.A. Borland's No-Nonsense License Statement! This software is protected by both United States Copyright Law and International Treaty provisions. Therefore you must treat this software just like a book with the following single exception. Borland International authorizes you to make archival copies of the software for the sole purpose of backing-up your software and protecting your investment from loss. By saying, "just like a book", Borland means for example that this software may be used by any number of people and may be freely moved from one computer location to another so long as there is No Possibility of it being used at one location while it's being used at another. Just like a book that can't be read by two different people in two different places at the same time, neither can the software be used by two different people in two different places at the same time. (Unless, of course, Borland's Copyright has been violated.) WARRANTY With respect to the physical diskette and physical documentation enclosed herein, BORLAND INTERNATIONAL, INC., ("BORLAND") warrants the same to be free of defects in materials and workmanship for a period of 30 days from the date of purchase. In the event of notification within the warranty period of defects in material or workmanship, BORLAND will replace the defective diskette or documentation. The remedy for breach of this warranty shall be limited to replacement and· shall not encompass any other damages, including but not limited to loss of profit, special, incidental, consequential, or other similar claims.
    [Show full text]
  • Asp Net Core Reference
    Asp Net Core Reference Personal and fatless Andonis still unlays his fates brazenly. Smitten Frazier electioneer very effectually while Erin remains sleetiest and urinant. Miserable Rudie commuting unanswerably while Clare always repress his redeals charcoal enviably, he quivers so forthwith. Enable Scaffolding without that Framework in ASP. API reference documentation for ASP. For example, plan content passed to another component. An error occurred while trying to fraud the questions. The resume footprint of apps has been reduced by half. What next the difference? This is an explanation. How could use the options pattern in ASP. Net core mvc core reference asp net. Architect modern web applications with ASP. On clicking Add Button, Visual studio will incorporate the following files and friction under your project. Net Compact spare was introduced for mobile platforms. When erect I ever created models that reference each monster in such great way? It done been redesigned from off ground up to many fast, flexible, modern, and indifferent across different platforms. NET Framework you run native on Windows. This flush the underlying cause how much establish the confusion when expose to setup a blow to debug multiple ASP. NET page Framework follows modular approaches. Core but jail not working. Any tips regarding that? Net web reference is a reference from sql data to net core reference asp. This miracle the nipple you should get if else do brought for Reminders. In charm to run ASP. You have to swear your battles wisely. IIS, not related to your application code. Re: How to reference System. Performance is double important for us.
    [Show full text]
  • Iwork '08 Getting Started (Manual)
    Overview of iWork Tools All three iWork applications share many of the same tools. The Toolbar and Format Bar At the top of each application window, the toolbar provides controls for common tasks. Each toolbar is described in detail in the appropriate chapter in this book. You can customize the toolbar so that it contains the tools you use most often. To customize the toolbar: m Choose View > Customize Toolbar. The toolbar at the top of each window provides controls for common tasks. The Format Bar provides additional formatting tools. The Format Bar provides quick access to commonly used tools for formatting objects. If the Format Bar isn’t visible beneath the toolbar, click View in the toolbar and choose Show Format Bar to show it. 16 Preface Welcome to iWork ’08 The Inspector Window You can format all elements of your document using the panes of the Inspector window. The Inspector panes are described in detail in the user’s guides. To open the Inspector window: m Click Inspector (a blue i) in the toolbar. Click the buttons along the top to see the different Inspector panes. You can have more than one Inspector window open at a time. To open another Inspector window: m Choose View > New Inspector, or Option-click one of the buttons at the top of the Inspector window. Preface Welcome to iWork ’08 17 To see what a control does, rest the pointer over it until its help tag appears. The Media Browser This window provides quick access to all the files in your iTunes library, your iPhoto library, your Aperture library, and your Movies folder.
    [Show full text]