Basic Programmer's Guide Staroffice[TM] 7

Total Page:16

File Type:pdf, Size:1020Kb

Basic Programmer's Guide Staroffice[TM] 7 StarOfficeTM 7 Office Suite A SunTM ONE Software Offering Basic Programmer's Guide Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054 U.S.A. 650-960-1300 Part No. 817-1826-10 July 2003, Revision A Copyrights and Trademarks Copyright © 2003 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, California 95054. , U.S.A. All rights reserved. Sun Microsystems, Inc. has intellectual property rights relating to technology embodied in the product that is described in this document. In particular, and without limitation, these intellectual property rights may include one or more of the U.S. patents listed at http://www.sun.com/patents and one or more additional patents or pending patent applications in the U.S. and in other countries. This document and the product to which it pertains are distributed under licenses restricting their use, copying, distribution, and decompilation. No part of the product or of this document may be reproduced in any form by any means without prior written authorization of Sun and its licensors, if any. Third-party software, including font technology, is copyrighted and licensed from Sun suppliers. This product is based in part on the work of the Independent JPEG Group and The FreeType Project. Portions Copyright 2000 SuSE, Inc. Word for Word Copyright © 1996 Inso Corp. International CorrectSpell spelling correction system Copyright © 1995 by Lernout & Hauspie Speech Products N.V. All rights reserved. Sun, Sun Microsystems, the Sun logo, Java, Solaris, StarOffice, the Butterfly logo, the Solaris logo, and the StarOffice logo are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries. UNIX is a registered trademark in the U.S. and in other countries, exclusively licensed through X/Open Company, Ltd. Screen Beans and Screen Beans clipart characters are registered trademarks of A Bit Better Corporation. Federal Acquisitions: Commercial Software - Government Users Subject to Standard License Terms and Conditions. DOCUMENTATION IS PROVIDED "AS IS" AND ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY INVALID. Copyright © 2003 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, California 95054, Etats-Unis. Tous droits réservés. Sun Microsystems, Inc. a les droits de propriété intellectuels relatants à la technologie incorporée dans ce produit. En particulier, et sans la limitation, ces droits de propriété intellectuels peuvent inclure un ou plus des brevets américains énumérés à http://www.sun.com/patents et un ou les brevets plus supplémentaires ou les applications de brevet en attente dans les Etats - Unis et les autres pays. Ce produit ou document est protégé par un copyright et distribué avec des licences qui en restreignent l'utilisation, la copie, la distribution, et la décompilation. Aucune partie de ce produit ou document ne peut être reproduite sous aucune forme, par quelque moyen que ce soit, sans l'autorisation préalable et écrite de Sun et de ses bailleurs de licence, s'il y ena. Le logiciel détenu par des tiers, et qui comprend la technologie relative aux polices de caractères, est protégé par un copyright et licencié par des fournisseurs de Sun. Ce produit repose en partie sur le travail de l’Independent JPEG Group et de The FreeType Project. Portions Copyright 2000 SuSE, Inc. Word for Word Copyright © 1996 Inso Corp. Système de correction orthographique International CorrectSpell Copyright © 1995 de Lernout & Hauspie Speech Products N.V. Tous droits réservés. Sun, Sun Microsystems, le logo Sun, Java, Solaris, StarOffice, le logo Butterfly, le logo Solaris et le logo StarOffice sont des marques de fabrique ou des marques déposées de Sun Microsystems, Inc. aux Etats-Unis et dans d'autres pays. UNIX est une marque déposée aux Etats-Unis et dans d'autres pays et licenciée exlusivement par X/Open Company, Ltd. Les Screen Beans et les objets graphiques prédessinés Screen Beans sont des marques déposées de A Bit Better Corporation. Acquisitions fédérales : logiciel commercial ; les utilisateurs gouvernementaux sont soumis aux conditions générales standard de la licence. LA DOCUMENTATION est fournie « TELLE QUELLE » et TOUTES LES CONDITIONS, REPRÉSENTATIONS ET GARANTIES EXPRESSES OU TACITES, Y COMPRIS TOUTE GARANTIE TACITE CONCERNANT LA QUALITÉ MARCHANDE, L'APTITUDE À UN USAGE PARTICULIER OU LA NON-VIOLATION DE DROITS DE TIERS SERONT REJETÉES, EXCEPTÉ DANS LE CAS OÙ L'EXCLUSION OU LA LIMITATION DE TELLES GARANTIES NE SERAIT PAS AUTORISÉE PAR LA LÉGISLATION EN VIGUEUR. Contents 1 Introduction 9 About StarOffice Basic 9 Intended Users of StarOffice Basic 10 Use of StarOffice Basic 10 Structure of This Guide 10 More Information 11 2 The Language of StarOffice Basic 13 An Overview of a StarOffice Basic Program 13 Program Lines 13 Comments 14 Markers 15 Working With Variables 15 Implicit Variable Declaration 15 Explicit Variable Declaration 16 Strings 17 From a Set of ASCII Characters to Unicode 17 String Variables 18 Specification of Explicit Strings 18 Numbers 19 Integer Variables 19 Long Integer Variables 19 Single Variables 20 Double Variables 20 Currency Variables 20 Specification of Explicit Numbers 20 True and False 23 Boolean Variables 23 Date and Time Details 23 Date Variables 23 Data Fields 24 3 Simple Arrays 24 Specified Value for Start Index 25 Multi-Dimensional Data Fields 25 Dynamic Changes in the Dimensions of Data Fields 25 Scope and Life Span of Variables 27 Local Variables 27 Public Domain Variables 28 Global Variables 28 Private Variables 29 Constants 30 Operators 30 Mathematical Operators 30 Logical Operators 30 Comparison Operators 31 Branching 31 If...Then...Else 31 Select...Case 32 Loops 33 For...Next 33 Do...Loop 35 Programming Example: Sorting With Embedded Loops 36 Procedures and Functions 37 Procedures 37 Functions 37 Terminating Procedures and Functions Prematurely 38 Passing Parameters 39 Optional Parameters 40 Recursion 41 Error Handling 41 The On Error Instruction 41 The Resume Command 42 Queries Regarding Error Information 42 Tips for Structured Error Handling 43 3 The Runtime Library of StarOffice Basic 45 Conversion Functions 45 Implicit and Explicit Type Conversions 45 Checking the Content of Variables 47 Strings 49 Working with Sets of Characters 49 Accessing Parts of a String 49 4 StarOffice™ 7 Basic Programmer's Guide Search and Replace 50 Formatting Strings 51 Date and Time 52 Specification of Date and Time Details within the Program Code 52 Extracting Date and Time Details 53 Retrieving System Date and Time 54 Files and directories 54 Administering Files 55 Writing and Reading Text Files 59 Message and Input Boxes 60 Displaying Messages 60 Input Box For Querying Simple Strings 62 Other functions 62 Beep 62 Shell 62 Wait 63 Environ 63 4 Introduction to the StarOffice API 65 Universal Network Objects (UNO) 65 Properties and Methods 66 Properties 66 Methods 67 Module, Services and Interfaces 67 Tools for Working with UNO 68 The supportsService Method 68 Debug Properties 68 API Reference 69 An Overview of a Few Central Interfaces 69 Creating Context-Dependent Objects 69 Named Access to Subordinate Objects 70 Index-Based Access to Subordinate Objects 71 Iterative Access to Subordinate Objects 72 5 Working with StarOffice Documents 73 The StarDesktop 73 Basic Information about Documents in StarOffice 74 Creating, Opening and Importing Documents 75 Document Objects 77 Templates 81 Details about various formatting options 82 Contents 5 6 Text Documents 85 The Structure of Text Documents 85 Paragraphs and Paragraph Portions 86 Editing Text Documents 94 The TextCursor 94 Searching for Text Portions 98 Replacing Text Portions 101 Text Documents: More than Just Text 102 Tables 103 Text Frames 107 Text Fields 110 Bookmarks 114 7 Spreadsheet Documents 115 The Structure of Table-Based Documents (Spreadsheets) 115 Spreadsheets 115 Rows and Columns 116 Cells 119 Formatting 123 Editing Spreadsheet Documents Efficiently 133 Cell Ranges 133 Searching and Replacing Cell Contents 135 8 Drawings and Presentations 137 The Structure of Drawings 137 Pages 137 Elementary Properties of Drawing Objects 139 An Overview of Various Drawing Objects 148 Editing Drawing Objects 155 Grouping Objects 155 Rotating and Shearing Drawing Objects 156 Searching and Replacing 157 Presentations 158 Working With Presentations 158 9 Diagrams (Charts) 159 Using Diagrams in Spreadsheets 159 The Structure of Diagrams 160 The Individual Elements of a Diagram 160 Example 166 3D Diagrams 167 6 StarOffice™ 7 Basic Programmer's Guide Stacked Diagrams 167 Diagram Types 167 Line Diagrams 167 Area Diagrams 168 Bar Diagrams 168 Pie Diagrams 168 10 Database Access 169 SQL: a Query Language 169 Types of Database Access 170 Data Sources 170 Queries 171 Links with Database Forms 173 Database Access 174 Iteration of Tables 174 Type-Specific Methods for Retrieving Values 176 The ResultSet Variants 176 Methods for Navigation in ResultSets 177 Modifying Data Records 178 11 Dialogs 179 Working With Dialogs 179 Creating Dialogs 179 Closing Dialogs 181 Access to Individual Control Elements 181 Working With the Model of Dialogs and Control Elements 182 Properties 182 Name and Title 182 Position and Size 182 Focus and Tabulator Sequence 183 Multi-Page Dialogs 183 Events 185 Parameters 187 Mouse Events 188 Keyboard Events 189 Focus Events 190 Control Element-Specific
Recommended publications
  • Exploring Student Perceptions About the Use of Visual Programming
    Exploring student perceptions about the use of visual programming environments, their relation to student learning styles and their impact on student motivation in undergraduate introductory programming modules Maira Kotsovoulou (BSc, MSc) July 2019 This thesis is submitted in partial fulfilment of the requirements for the degree of Doctor of Philosophy. Department of Educational Research, Lancaster University, UK. Exploring student perceptions about the use of visual programming environments, their relation to student learning styles and their impact on student motivation in undergraduate introductory programming modules Maira Kotsovoulou (BSc, MSc) This thesis results entirely from my own work and has not been offered previously for any other degree or diploma. The word count is 57,743 excluding references. Signature ........................................................ Maira Kotsovoulou (BSc, MSc) Exploring student perceptions about the use of visual programming environments, their relation to student learning styles and their impact on student motivation in undergraduate introductory programming modules Doctor of Philosophy, July 2019 Abstract My research aims to explore how students perceive the usability and enjoyment of visual/block-based programming environments (VPEs), to what extent their learning styles relate to these perceptions and finally to what extent these tools facilitate student understanding of basic programming constructs and impact their motivation to learn programming. My overall methodological approach is a case study that explores the nature of potential benefits to using a VPE in an introductory programming module, within the specific context of an English-speaking institution of higher learning in Southern Europe. Part 1 of this research is a pilot study, which uses participatory action research as a methodological practice to identify which visual programming environment will be selected for the main study.
    [Show full text]
  • Full Form of Basic in Computer Language
    Full Form Of Basic In Computer Language Arrased and intransitive Obadiah resit: which Rockwell is soused enough? Prentiss safeguards her nitromethane yesternight, she posed it drastically. How rustling is Morley when comelier and canescent Ned depolarize some banana? Learning pascal are usually, the extern modifier is defined in basic computer full language of sense 3 Popular Types of Computer Language eduCBA. Instead of using machine code it uses a programming language. Programming in one natural language say taken full scope set the English language. BASIC was to early programming language that is still despise the simplest and most popular of programming languages BASIC stands for Beginner's. It is practically impossible to teach good programming to students that have had one prior exposure to BASIC In its classic form BASIC also. Computer Related Full Form PDF For BoardCompetitive Examination BAL Basic Assembly Language BER Bit less Rate BFD Binary File. Included in computer language of computers can be covered in. All Full Forms for Computer Subjectpdf Domain Name. The basics of BASIC the programming language of the 190s. Learn then to program drawings animations and games using JavaScript ProcessingJS or learn how these create webpages with HTML CSS You implement share. Basic Computer Terms. Important Full Forms Related to Programming Languages. BASIC Commands Dartmouth College. An html tags that time and that you are defined rules, compilers convert the habit to create a language of in basic form computer full control. What both RAM & ROM Mean their Business Chroncom. PHP Full Form GeeksforGeeks. What is C The Basics of C Programming HowStuffWorks.
    [Show full text]
  • BASIC Programming with Unix Introduction
    LinuxFocus article number 277 http://linuxfocus.org BASIC programming with Unix by John Perr <johnperr(at)Linuxfocus.org> Abstract: About the author: Developing with Linux or another Unix system in BASIC ? Why not ? Linux user since 1994, he is Various free solutions allows us to use the BASIC language to develop one of the French editors of interpreted or compiled applications. LinuxFocus. _________________ _________________ _________________ Translated to English by: Georges Tarbouriech <gt(at)Linuxfocus.org> Introduction Even if it appeared later than other languages on the computing scene, BASIC quickly became widespread on many non Unix systems as a replacement for the scripting languages natively found on Unix. This is probably the main reason why this language is rarely used by Unix people. Unix had a more powerful scripting language from the first day on. Like other scripting languages, BASIC is mostly an interpreted one and uses a rather simple syntax, without data types, apart from a distinction between strings and numbers. Historically, the name of the language comes from its simplicity and from the fact it allows to easily teach programming to students. Unfortunately, the lack of standardization lead to many different versions mostly incompatible with each other. We can even say there are as many versions as interpreters what makes BASIC hardly portable. Despite these drawbacks and many others that the "true programmers" will remind us, BASIC stays an option to be taken into account to quickly develop small programs. This has been especially true for many years because of the Integrated Development Environment found in Windows versions allowing graphical interface design in a few mouse clicks.
    [Show full text]
  • GWBASIC User's Manual
    GWBASIC User's Manual User's Guide GW-BASIC User's Guide Chapters 1. Welcome Microsoft Corporation 2. Getting Started Information in this document is subject to change without 3. Reviewing and Practicing notice and does not represent a commitment on the part of 4. The Screen Editor Microsoft Corporation. The software described in this 5. Creating and Using Files document is furnished under a license agreement or 6. Constants, Variables, nondisclosure agreement. It is against the law to copy this Expressions and Operators software on magnetic tape, disk, or any other medium for any Appendicies purpose other than the purchaser's personal use. A. Error Codes and Messages © Copyright Microsoft Corporation, 1986, 1987. All rights B. Mathematical Functions reserved. C. ASCII Character Codes D. Assembly Language Portions copyright COMPAQ Computer Corporation, 1985 E. Converting Programs Simultaneously published in the United States and Canada. F. Communications G. Hexadecimal Equivalents Microsoft®, MS-DOS®, GW-BASIC® and the Microsoft logo H. Key Scan Codes are registered trademarks of Microsoft Corporation. I. Characters Recognized Compaq® is a registered trademark of COMPAQ Computer Glossary Corporation. DEC® is a registered trademark of Digital Equipment Corporation. User's Reference Document Number 410130001-330-R02-078 ABS Function ASC Function ATN Function GW-BASIC User's Reference AUTO Command Microsoft Corporation BEEP Statement BLOAD Command Information in this document is subject to change without BSAVE Command notice and does not represent a commitment on the part of Microsoft Corporation. The software described in this CALL Statement document is furnished under a license agreement or CDBL Function nondisclosure agreement.
    [Show full text]
  • History of Micro-Computers
    M•I•C•R•O P•R•O•C•E•S•S•O•R E•V•O•L•U•T•I.O•N Reprinted by permission from BYTE, September 1985.. a McGraw-Hill Inc. publication. Prices quoted are in US S. EVOLUTION OF THE MICROPROCESSOR An informal history BY MARK GARETZ Author's note: The evolution of were many other applica- the microprocessor has followed tions for the new memory a complex and twisted path. To chip, which was signifi- those of you who were actually cantly larger than any that involved in some of the follow- had been produced ing history, 1 apologize if my before. version is not exactly like yours. About this time, the The opinions expressed in this summer of 1969, Intel was article are my own and may or approached by the may not represent reality as Japanese calculator manu- someone else perceives it. facturer Busicom to pro- duce a set of custom chips THE TRANSISTOR, devel- designed by Busicom oped at Bell Laboratories engineers for the Jap- in 1947, was designed to anese company's new line replace the vacuum tube, of calculators. The to switch electronic sig- calculators would have nals on and off. (Al- several chips, each of though, at the time, which would contain 3000 vacuum tubes were used to 5000 transistors. mainly as amplifiers, they Intel designer Marcian were also used as (led) Hoff was assigned to switches.) The advent of assist the team of Busi- the transistor made possi- com engineers that had ble a digital computer that taken up residence at didn't require an entire Intel.
    [Show full text]
  • Beginning Microsoft® Small Basic
    ® Beginning Microsoft Small Basic ® ® ® ™ Plus a Porting Guide to Microsoft Visual Basic , C# , and Java © PHILIP CONROD & LOU TYLEE, 2010 Kidware Software PO Box 701 Maple Valley, WA 98038 http://www.computerscienceforkids.com http://www.kidwaresoftware.com Copyright © 2010 by Philip Conrod & Lou Tylee. All rights reserved Kidware Software PO Box 701 Maple Valley, Washington 98038 1.425.413.1185 www.kidwaresoftware.com www.computerscienceforkids.com www.biblebytebooks.com All Rights Reserved. No part of the contents of this book may be reproduced or transmitted in any form or by any means without the written permission of the publisher. Printed in the United States of America ISBN-13: 978-1-937161-19-4 Book Cover Illustration by Kevin Brockschmidt Copy Editor: Stephanie Conrod This copy of the Beginning Microsoft Small Basic book and the associated software is licensed to a single user. Copies of the course are not to be distributed or provided to any other user. Multiple copy licenses are available for educational institutions. Please contact Kidware Software for school site license information. This guide was developed for the course, “Beginning Microsoft Small Basic,” produced by Kidware Software, Maple Valley, Washington. It is not intended to be a complete reference to the Small Basic language. Please consult the Microsoft website for detailed reference information. This guide refers to several software and hardware products by their trade names. These references are for informational purposes only and all trademarks are the property of their respective companies and owners. Microsoft, Visual Studio, Small Basic, Visual Basic, Visual J#, and Visual C#, IntelliSense, Word, Excel, MSDN, and Windows are all trademark products of the Microsoft Corporation.
    [Show full text]
  • Advanced BASIC Programming for the Commodore 64
    Advanced BASIC programming for the Commodore 64 and Other Commodore Computers Editor-in-Chief: David Culverwell Executive Editor: Terrell Anderson Production Editor: Sandra Tamburrino Text Design: Paula Huber Cover Design: Don Sellers Indexer: Leah Kramer Typesetter: Action Comp Co., Inc., Baltimore, MD Printer: R. R. Donnelley & Sons Co., Harrisonburg, VA Typefaces: Trump Mediaeval (text), Antique Olive (display), OCR-A (programs) Advanced BASIC programming for the Commodore 64 and Other Commodore Computers Michael Richter Robert J. Brady Co., Bowie, MD 20715 A prentice-Hall Publishing and Communications Company Note to Authors Do you have a manuscript or a software program re­ lated to personal computers? Do you have an idea for developing such a project? If so, we would like to hear from you. The Brady Co. produces a complete range of books and applications software for the per­ sonal computer market. We invite you to write to David Culverwell, Editor-in-Chief, Robert J. Brady Co., Bowie, Maryland 20715. Advanced BASIC Programming for the Commodore 64 and Other Commodore Computers Copyright © 1984 by Robert J. Brady Co. All rights reserved. No part of this publication may be reproduced or transmit­ ted in any form or by any means, electronic or mechanical, including photo­ copying and recording, or by any information storage and retrieval system, without permission in writing from the publisher. For information, address Robert J. Brady Co., Bowie, Maryland 20715. Library of Congress Cataloging in Publication Data Richter, Michael, 1939- Advanced BASIC programming for the Commodore 64 and other Commodore computers. Includes index. 1. Commodore 64 (Computer)-Programming. 2.
    [Show full text]
  • Commodore Rals a User'sguide
    Commodore rals A User's Guide Julie Knott and Dave Prochnow A comprehensive guide to the selection, function, and use of Commodore peripherals for the VIC-20 . and Commodore 64. A COMPUTEI Books Publication $9.95 Commodore Peripherals A User's Guide Julie Knott and Dave Prochnow .• 221Yc1~!!!Co~[Eublications,lnc Copyright 1984, COMPUTE! Publications, Inc. All rights reserved Reproduction or translation of any part of this work beyond that permitted by Sec­ tions 107 and 108 of the United States Copyright Act without the permission of the copyright owner is unlawful. Printed in the United States of America ISBN 0-942386-56-6 10 9 8 76 5 4 3 2 COMPUTE! Publications, Inc., Post Office Box 5406, Greensboro, NC 27403, (919) 275-9809, is one of the ABC Publishing Companies and is not associated with any manufacturer of personal computers. Commodore 64 and VIC-20 are trademarks of Commodore Electronics Limited. ii Contents Foreword ........... ... .. ..... .. .. ... ...... .......... iv 1: The Computers . 1 2: The 1530 Datassette . .. 15 3: The 1541 Disk Drive . .. 29 4: The VIC-1525 and -1526 Printers. .. 47 5: The VIC-1520 Printer/Plotter. .. 67 6: The VIC-101lA RS-232C Interface. .. 81 7: The VIC-111116K Memory Expander for the VIC-20 . .. 95 8: The VIC-121lA Super Expander for the VIC-20 .... .... 103 9: The 1600 VICMODEM and the 1650 AUfOMODEM ..... 115 10: CP/M for the Commodore 64 ........................ 129 Index .. .... ............ ........ .......... ... .. ... 139 III Foreword Wading through computer operating manuals can be frustrat­ ing. Information can be hard to find, if it's there at all. And often it's written in language too technical to understand easily.
    [Show full text]
  • Strung Out: Printable Strings in Atari 2600 Games
    University of Calgary PRISM: University of Calgary's Digital Repository Science Science Research & Publications 2014-08-14 Strung Out: Printable Strings in Atari 2600 Games Aycock, John http://hdl.handle.net/1880/50203 technical report Downloaded from PRISM: https://prism.ucalgary.ca Strung Out: Printable Strings in Atari 2600 Games John Aycock Department of Computer Science University of Calgary 2500 University Drive N.W. Calgary, AB, Canada T2N 1N4 [email protected] TR 2014-1062-13, August 2014 1 Introduction This report documents the raw findings from an exhaustive (and exhausting) analysis of a large corpus of Atari 2600 games to find printable strings. While similar efforts have been conducted before [3], this is the most extensive survey so far, to the best of our knowledge. We intend to analyze these results from a higher-level viewpoint later, but this report serves as a permanent record of the data and the methods we used to acquire it. 2 Printable Strings The results reported here are based on a corpus of 1816 Atari 2600 ROM cartridge images. Duplicate images were removed – the initial corpus, as acquired, had 1840 images – but some game images have one or more prototype images too. We have not removed these, because sometimes the strings are different between these versions. Finding printable strings was done in a manner consistent with the Unix strings program, where sequences of consec- utive printable ASCII characters at least four characters in length were selected. In practice, because this process produces a lot of “noise”, i.e., sequences that appear to be printable strings but in fact are not: XXXXXXX^ 66420OBDF66420FBD66420@D 3##~ #3 we filtered the output to make legitimate printable strings more prominent [2].
    [Show full text]
  • Programming the TI-83 Plus/TI-84 Plus by Christopher R
    BONUS APPENDIX Programming the TI-83 Plus/TI-84 Plus by Christopher R. Mitchell Appendix D Copyright 2015 Manning Publications brief contents PART 1GETTING STARTED WITH PROGRAMMING........................1 1 ■ Diving into calculator programming 3 2 ■ Communication: basic input and output 25 3 ■ Conditionals and Boolean logic 55 4 ■ Control structures 76 5 ■ Theory interlude: problem solving and debugging 107 PART 2BECOMING A TI-BASIC MASTER ................................133 6 ■ Advanced input and events 135 7 ■ Pixels and the graphscreen 167 8 ■ Graphs, shapes, and points 184 9 ■ Manipulating numbers and data types 205 PART 3ADVANCED CONCEPTS; WHAT’S NEXT..........................225 10 ■ Optimizing TI-BASIC programs 227 11 ■ Using hybrid TI-BASIC libraries 243 12 ■ Introducing z80 assembly 260 13 ■ Now what? Expanding your programming horizons 282 v appendix D Programming the TI-84 Plus C Silver Edition and TI-84 Plus CE In late 2012, the members of my website discovered that Texas Instruments was test- ing a new color-screen version of the decade-old TI-83 Plus/TI-84 Plus series. This new calculator, the TI-84 Plus C Silver Edition, has the same processor, RAM, and operating system as the older monochrome calculators. It includes a new color LCD screen and rechargeable battery. In 2015, it was joined by the thinner, lighter TI-84 Plus CE, which packs a faster processor and more memory. Luckily for TI-BASIC pro- grammers, the TI-BASIC (and z80 assembly) programming skills taught throughout Programming the TI-83 Plus/TI-84 Plus remain largely relevant to the new calculator. All of the commands and programming techniques you’ve learned in this book still apply, and the calculator still has a homescreen and graphscreen for text-based pro- grams and graphical programs respectively.
    [Show full text]
  • GW™-BASIC (Interpreter/Compiler) Reference Manual and User’S Guide
    NCR GW™-BASIC (Interpreter/Compiler) Reference Manual and User’s Guide For MS™-DOS BI19317 May 1984 NCR Corporation is pleased to provide GW-BASIC software for implementation on your NCR Decision Mate V. Your GW-BASIC package contains an NCR GW-BASIC Reference Manual, a GW-BASIC User’s Guide for either the GW-BASIC Interpreter or the GW-BASIC Compiler, and a disk which holds the following files: NCR GW-BASIC (Interpreter) NCR GW-BASIC Compiler For MS™-DOS For MS™-DOS Disk 1 of 1 Disk 1 of 1 GWBASIC.EXE GWBCOM.COM GWCONF.COM BASCOMG.LIB DUMPCL.OBJ BASRUNG.LIB BASRUNG.EXE GWCONF.COM DEMO.BAS LINK.EXE NCR GW-BASIC Compiler The GW-BASIC Compiler program has been pre-installed for your NCR Decision Mate V. No programmable function key assignments have been made. To define your own, see the KEY Statement in Chapter 4, Section 4.61, of your NCR GW-BASIC Reference Manual Fl F2 F3 F4 F5 F6 F7 F8 F9 F10 F ll F12 F13 F14 F15 F16 F17 F18 F19 F20 NCR GW-BASIC (Interpreter) The GW-BASIC program has been pre-installed for your NCR Decision Mate V. The programmable function keys have been assigned the values which appear below. See the KEY Statement in Chapter 4, Section 4.61 of your GW-BASIC REFERENCE MANUAL for detailed instructions in utilizing these function keys. Fl LOAD F2 RUN F3 CONT F4 SAVE F5 LIST F6 EDIT F7 TRON F8 TROFF F9 PRINT F10 PRINT USING F ll GOTO F12 GOSUB F13 IF F14 THEN F15 ELSE F16 CHR$ F17 STRING$ F18 LINE F19 CIRCLE F20 DRAW NC GW'-BASIC Reference Manual For MS™-DOS COPYRIGHT NOTICE Copyright® 1983 by Microsoft Corporation, all rights reserved.
    [Show full text]
  • Atari Microsoft BASIC II Manual
    - Reference Manual : ATARI MICROSOFT BASIC II* ATARI® MICROSOFT BASIC INSTRUCTIONS - ABS 47 INKEY$ 49 RAMDOMIZE 42 AFTER 26 INPUT 31 READ 43 - ASC 48 INPUT . .. AT 31 REM 43 ATN 47 INSTR 49 REN UM 23 - AUTO 18 INT 47 RESTORE 44 CHA$ 48 KILL 20 RESUME 44 - CLEAR 26 LEFT$ 49 RETURN 45 CLEAR STACK 26 LEN 49 RIGHT$ 49 - CLOAD 18 LET 31 AND 47 CLOSE 27 LINE INPUT 32 RUN 24 - CLS 60 LINE INPUT... AT 32 SAVE 24 COLOR 57 LIST 20 SAVE ... LOCK 24 - COMMON 27 LOAD 21 SCAN$ 50 CONT 19 LOCK 22 SETCOLOR 59 - cos 47 LOG 47 SGN 48 CSAVE 19 MERGE 22 SIN 48 - DATA 43 MID$ 49 SOUND 64 DEF 27 MOVE 32 SOR 48 - DEFSNG 12 NAME . .. TO 22 STACK 45 DEF DBL 13 NEW 23 STATUS 52 - DEF INT 12 NEXT 32 STOP 45 DEFSTR 14 NOTE 33 STA$ 50 - DEL 19 ON ERROR 33 STRING$(n,A$) 50 DIM 28 ON ... GOSUB 34 STRING$(n,M) 50 - DOS 20 ON ... GOTO 34 TAN 48 END 29 OPEN 35 TIME 53 - EOF 51 OPTION BASE 36 TIME$ 51 ERL 51 OPTION CHA 36 TROFF 25 - ERR 51 OPTION PLM 37 TRON 25 ERROR 29 OPTION RESERVE 37 UNLOCK 25 - EXP 47 PEEK 52 USA 54 FILL 60 PLOT 59 VAL 51 - FOR ...TO .. .STEP 29 PLOT .. .TO 59 VARPTR 45 FRE(O) 52 POKE 52 VERIFY 25 - GET 29 PRINT 37 WAIT ... AND 46 GOSUB 30 PRINT ... AT 38 +(Concatenation) 48 _ GOTO 30 PRINT ... SPC 38 ! (Remark) 43 GRAPHICS 56 PRINT .
    [Show full text]