About GW-BASIC

Total Page:16

File Type:pdf, Size:1020Kb

About GW-BASIC Information in this document is subject to change without notice and does not represent a commitment on the part of Mindset Corporation. The software described in this document is furnished under a license agreement or non­ disclosure agreement. The software may be used or copied only in accordance with the terms of the agreement. It is against the law to copy Mindset GW-BASIC on magnetic tape, disk, or any other medium for any purpose other than the purchaser's personal use. (c) Microsoft Corporation 1979, 1983, 1984 (c) Mindset Corporation 1983, 1984 Microsoft is a registered trademark of Microsoft Corporation. Microsoft GW-BASIC Interpreter is a trademark of Microsoft Corporation. All rights reserved. Printed in U.S.A 100213-001 A Tec-Ed manual. Contents Section 1 I ntrod uction Graphics 1-1 Sound and Music 1-2 Input Peripherals Support 1-2 Device-I ndependent Input/Output 1-2 Event Trapping 1-3 ON ... GOSUB Statement Type 1-5 RETURN Statement 1-6 Keyword Entry Using the Alt Key 1-7 Section 2 General Information About GW-BASIC Syntax Notation 2-1 Line Format 2-2 Error Messages 2-2 Modes of Operation 2-2 Default Disk Drive 2-3 Active and Visual (Display) Pages 2-3 Character Set 2-3 Constants 2-5 String Constants 2-5 Numeric Constants 2-5 Single/Double Precision Form for Numeric Constants 2-6 Variables 2-7 Variable Names and Declaration Characters 2-7 Array Variables 2-8 Memory Space Requirements 2-8 Type Conversion 2-9 iii iv GW-BASIC Reference Manual Expressions and Operators 2-11 Arithmetic Operators 2-11 Integer Division and Modulus Arithmetic 2-12 Division By Zero and Overflow 2-13 Relational Operators 2-13 Logical Operators 2-14 Functional Operators -2-16 String Operators 2-16 MS-DOS 2.0 File System 2-17 Hierarchical File System 2-17 Directory Paths 2-18 File-Naming Conventions 2-19 Character Device Support 2-19 Assembly Language Subroutines 2-21 Memory Allocation 2-21 The CALL Statement 2-22 The CALLS Statement 2-26 The USR Function 2-26 Section 3 Programming Animation Animation Features 3-1 Programmable Motion and Priority 3-1 Multiple Object Views 3-2 Animation Event Statements 3-2 Animation Event Functions 3-3 Animation EVent Control Statements 3-4 Object Activation Statements 3-5 Overview of Animation Programming 3-5 Sample Animation Program Description 3-6 Initializing the System 3-7 Dimensioning the Object Arrays 3-7 Generating the Views for Each Object 3-8 Storing the Object Views in Arrays 3-8 Defining the Views Comprising an Object 3-9 Setting Up the Event Traps 3-9 Enabling the Event Traps 3-9 Defining Object Parameters and Activating the Object 3-10 Incuding the Background Program 3-10 Using ARR IVAL Subroutines 3-11 Using CLIP Subroutines 3-121, Using COLLISION Subroutines 3-12 Contents v Section 4 Starting GW-BASIC Starting GW-BASIC Without MS-DOS 4-1 GW-BASIC Operating Environment Without MS-DOS 4-2 Starting GW-BASIC with MS-DOS 4-2 BASIC Command Line Syntax 4-3 Command Line Options 4-3 File Options 4-4 Option Switches 4-4 BASIC Command Examples 4-6 Redirection of Standard Input and .Standard Output 4-7 Rules for Redirecting Input and Output 4-7 Example of I/O Redirection 4-7 Returning to MS-DOS from GW-BASIC 4-8 Section 5 Editing Basic Programs Line Editing 5-1 Edit Command 5-2 Full Screen Editor 5-2 Writing Programs 5-2 Editing Programs 5-3 Control Functions and Editor Keys 5-4 BASIC Editor Function Keys 5-4 Logical Line Definition with INPUT 5-6 Editing Lines Containing Variables 5-6 Section 6 GW-BASIC Commands, Statements, Functions, and Variables ABS Function 6-3 ACTIVATE/DEACTIVATE Statements 6-4 ARRIVAL Function 6-5 ARRIVAL Statement 6-8 ASC Function 6-10 ATN Function 6-11 AUTO Command 6-12 BEEP Statement 6-13 BLOAD Statement 6-14 BSAVE Statement 6-15 CALL Statement 6-16 CALLS Statement 6-17 CDBL Function 6-18 CHAI N Statement 6-19 CHOIR Statement 6-22 CH R$ Function 6-23 VI l.:iW-tiA::iIl,; Heterence Manual CI NT Function 6-24 CI RCLE Statement 6-25 CLEAR Statement 6-27 CLIP Function 6-28 CLI P Statement 6-30 CLOSE Statement 6-31 CLS Statement 6-32 COLLISION Function 6-33 COLLISION Statement 6-36 COLOR Statement (Text) 6-37 COLOR Statement (Graphics) 6-39 COM Statement 6-41 COMMON Statement 6-42 CONT Command 6-43 COS Function 6-44 CSNG Function 6-45 CSRLlN Variable 6-46 CVI, CVS, and CVD Functions 6-47 DATA Statement 6-48 DATE$ Statement 6-49 DATE$ Variable 6-50 DEF FN Statement 6-51 DEFINT/SNG/DBL/STR Statements 6-52 DEF OBJ ECT Statement 6-53 DEF SEG Statement 6-54 DEF USR Statement 6-55 DELETE Command 6-56 01 M OBJ ECT Statement 6-57 DIM Statement 6-58 o RAW Statement 6-59 EDIT Command 6-62 END Statement 6-63 ENVI RON Statement 6-64 ENVI RON$ Function 6-66 EOF Function 6-68 ERASE Statement 6-69 ERDEV and ERDEV$ Variables 6-70 ERR and ERL Variables 6-71 ERROR Statement 6-72 EXP Function 6-74 FIELD Statement 6-75 FI LES Statement 6-78 FIX Function 6-80 FOR ... NEXT Statement 6-81 FRE Function 6-84 GET Statement (Files) 6-85 GET Statement (Graphics) 6-86 GOSUB ... RETURN Statements 6-88 Contents vii GOTO Statement 6-90 H EX$ Function 6-91 IF ... THEN[ ... ELSE]!IF ... GOTO Statements 6-92 IN KEY$ Function 6-94 INP Function 6-95 I N PUT Statement 6-96 I N PUT # Statement 6-98 IN PUT$ Function 6-99 I NSTR Function 6-100 I NT Function 6-101 10CTL Statement 6-102 10CTL$ Function 6-103 KEY Statement 6-104 KEY (n) Statement 6-107 KI LL Statement 6-109 LEFT$ Function 6-111 LEN Function 6-112 LET Statement 6-113 LI N E Statement 6-114 LI N E I N PUT Statements 6-117 LI N E IN PUT# Statement 6-118 LIST Command 6-119 LLiST Command 6-121 LOAD Command 6-122 LOC Function 6-123 LOCATE Statement 6-124 LOF Function 6-126 LOG Function 6-127 LPOS Function 6-128 LPRINT and LPRINT USING Statements 6-129 LSET and RSET Statements 6-130 MERGE Command 6-131 M I D$ Statement 6-132 MID$ Function 6-133 MKDIR Statement 6-134 MKI$, MKS$, and MKD$ Functions 6-135 NAM E Statement 6-136 NEW Command 6-137 OBJ ECT Function 6-138 OBJ ECT Statement 6-139 OCT$ Function 6-142 ON ARRIVAL Statement 6-143 ON CLI P Statement 6-145 ON COLLISION Statement 6-147 ON COM Statement 6-150 ON ERROR GOTO Statement 6-152 ON ... GOSUB and ON ... GOTO Statements 6-153 ON KEY Statement 6-154 viii GW-BASIC Reference Manual ON PLAY Statement 6-156 ON STRIG Statement 6-157 ON TIMER, TIMER ON, TIMER OFF, TIMER STOP Statements 6-159 OPEN Statement 6-160 OPEN COM Statement 6-162 OPTION BASE Statement 6-164 OUT Statement 6-165 PAINT Statement 6-166 PALETIE Statement 6-169 PALETIE USING Statement 6-171 PEEK Function 6-173 PLAY Statement 6-174 PLAY Function 6-178 PMAP Function 6-179 POINT Function 6-180 POKE Statement 6-181 POS Function 6-182 PRESET Statement 6-183 PR I NT Statement 6-184 PRINT USING Statement 6-187 PRINT# and PRINT#USING Statements 6-192 PSET Statement 6-194 PUT Statement (Files) 6-196 PUT Statement (Graphics) 6-197 RANDOMIZE Statement 6-199 READ Statement 6-201 REM Statement 6-203 RENUM Command 6-204 RESET Command 6-205 RESTORE Statement 6-206 RESUME Statement 6-207 RETURN Statement 6-208 RIGHT$ Function 6-209 RMDIR Statement 6-210 RND Function 6-211 RUN Command 6-212 SAVE Command 6-213 SCREEN Statement 6-214 SCREEN Function 6-216 SCN Function 6-217 SHELL Statement 6-218 SI N Function 6-221 SOUND Statement 6-222 SPACE$ Function 6-223 SPC Function 6-224 SQR Function 6-225 STICK Function 6-226 STOP Statement 6-228 Contents ix STOP/START OBJECT Statements 6-229 STR$ Function 6-230 STRIG Statement/Function 6-231 STRI NG$ Function 6-233 SWAP Statement 6-234 SYSTE M Command 6-235 TAB Function 6-236 TAN Function 6-237 TI M E$ Statement 6-238 TI M E$ Variable 6-239 TIMER Variable 6-240 TRON/TROFF Statements/Commands 6-241 USR Function 6-242 VAL Function 6-243 VARPTR Function 6-244 VARPTR$ Function 6-245 VI EW Statement 6-247 VIEW PRINT Statement 6-248 WAIT Statement 6-249 WH I LE .. WE N D Statements 6-250 WI DTH Statement 6-251 WI N DOW Statement 6-253 WRITE Statement 6-255 WRITE# Statement 6-256 Appendix A Error Codes And Error Messages GW-BASIC Error Messages A-1 Disk Error Messages A-5 Appendix B Derived Mathematical Functions AppendixC ASCII Character Codes Extended Codes C-3 Appendix D GW-BASIC Reserved Words Index Figures and Tables Figure 2-1 : Disk file organization 2-17 Figure 2-2: Stack layout when CALL statement is activated 2-23 Figure 2-3: Stack layout during execution of a CALL statement 2-23 Table 2-1: GW-BASIC Relational Operators Truth Table 2-14 Table 3-1: Sample Program Array Names 3-7 Figure 4-1: GW-BASIC start-up screen 4-2 Table 5-1 : GW-BASIC Control Functions 5-4 Table 6-1: Default Palette Colors 6-37 Table 6-2: Graphics Color Palettes 6-39 Table 6-3: Default Color Palette Definition 6-169 Table 6-4: Screen Modes 6-214 xi Section 1 Introduction Welcome to GW-BASIC.
Recommended publications
  • MIC5161 Win 2003 Launch V6
    Microsoft Windows Server 2003 and Microsoft Visual Studio .NET 2003 Launch Guide Do more with less. 1 Contents Introduction 2 Introducing Microsoft® Windows® Server 2003 4 Windows Server 2003 Case Studies 10 Introducing Microsoft® Visual Studio® .NET 2003 26 Visual Studio .NET 2003 Case Studies 41 Australian .NET Connected Partners 47 Microsoft® SQL Server™ 52 Microsoft Exchange Server 53 Windows Server 2003 and Visual Studio .NET 2003 Launch Sponsors 55 Platform Partner 56 Platinum Sponsors 61 Gold Sponsors 81 Silver Sponsors 96 Australian Windows Server 2003 JDP 100 Microsoft Gold Certified Partners 102 2 3 Welcome to the launch of Windows Server 2003! This is an exciting time for In my ten or more years in the Australian developer community, the combination Microsoft, our partners and customers, as this is unquestionably the most of Microsoft Windows Server 2003 and Microsoft Visual Studio® .NET 2003 is customer-focused Windows Server release yet. The reality of today’s IT environment the most exciting launch I have ever been involved with. Last February, Microsoft is the demand to do more with technology and, at the same time, do it with reset the bar for innovation and productivity with a new development paradigm for less cost. Over the last two years, we have spent time with customers using building Web Services and applications – Visual Studio .NET. This year, we build Microsoft® Windows® 2000 Server and Windows NT® Server 4.0 to really on that momentum by offering an entire development platform for the building understand what it would take to enable them do a lot more with Windows Server and execution of those applications.
    [Show full text]
  • Scanned Document
    OJ )> Vl () 0 ,0 ,m' I 1-V II&JS mm&Radio4 I nederlandse ornroep stichting I THE CHIP SHOP BASICODE2 mmmRadio4 - Broadcasting Support Services CONTENTS ©NOS nederlandse omroep stichting, Hilversum, Netherland 1. INTRODUCTION 5 ISBN 0-906965-14-4 2. HOW TO USE BASICODE-2 7 This edition first published by Broadcasting Support Services January 1984 3. BASICODE- THE SPECIFICATIONS 9 THE CHIP SHOP BBC Radio4 4. BASICODE-2 PROTOCOL 12 British Broadcasting Corporation Portland Place 5. APPLE II & lie 26 London W1A 1AA 6. BBC (A& B) 29 All rights reserved. This handbook and the accompanying computer programs are copyright. No part of this handbook or 7. COMMODORE COMPUTERS 31 the accompanying computer programs may be reproduced, 8. SHARP MZSOA 36 translated, copied or transmitted by any means whatsoever without the prior written permission of the copyright owners. 9. SINCLAIR ZX81 37 The publisher assumes no responsibility for errors, nor liability 10. TANDY TRS-80 & VIDEOGENIE 41 for loss or damage, however caused, arising from the use of the Basicode 2 kit. 11. THE FUTURE 47 The BASICODE-2 kit is available for £3.95 frorr:: Broadcasting Support Services P.O. Box? London W3 6XJ Please make cheques or postal orders payable to Broadcasting Support Services. Published for The Chip Shop, Radio 4, by Broadcasting Support Services- an independent educational charity providing follow­ up services for viewers and listeners. Introduction Chapter One BASICODE-2 INTRODUCTION BASICODE has been developed by the radio programme Hobbyscoop This book and the accompanying cassette contain the details of NOS­ which is broadcast weekly by Nederlanse Omroep Stichting (NOS), BASICODE.
    [Show full text]
  • Programmierung Unter GNU/Linux Für Einsteiger
    Programmierung unter GNU/Linux fur¨ Einsteiger Edgar 'Fast Edi' Hoffmann Community FreieSoftwareOG [email protected] 7. September 2016 Programmierung (von griechisch pr´ogramma Vorschrift\) bezeichnet die T¨atigkeit, " Computerprogramme zu erstellen. Dies umfasst vor Allem die Umsetzung (Implementierung) des Softwareentwurfs in Quellcode sowie { je nach Programmiersprache { das Ubersetzen¨ des Quellcodes in die Maschinensprache, meist unter Verwendung eines Compilers. Programmierung Begriffserkl¨arung 2 / 35 Dies umfasst vor Allem die Umsetzung (Implementierung) des Softwareentwurfs in Quellcode sowie { je nach Programmiersprache { das Ubersetzen¨ des Quellcodes in die Maschinensprache, meist unter Verwendung eines Compilers. Programmierung Begriffserkl¨arung Programmierung (von griechisch pr´ogramma Vorschrift\) bezeichnet die T¨atigkeit, " Computerprogramme zu erstellen. 2 / 35 Programmierung Begriffserkl¨arung Programmierung (von griechisch pr´ogramma Vorschrift\) bezeichnet die T¨atigkeit, " Computerprogramme zu erstellen. Dies umfasst vor Allem die Umsetzung (Implementierung) des Softwareentwurfs in Quellcode sowie { je nach Programmiersprache { das Ubersetzen¨ des Quellcodes in die Maschinensprache, meist unter Verwendung eines Compilers. 2 / 35 Programme werden unter Verwendung von Programmiersprachen formuliert ( kodiert\). " In eine solche Sprache ubersetzt\¨ der Programmierer die (z. B. im Pflichtenheft) " vorgegebenen Anforderungen und Algorithmen. Zunehmend wird er dabei durch Codegeneratoren unterstutzt,¨ die zumindest
    [Show full text]
  • The MSX Red Book (Revised Version 1997/08/06) Notes from The
    The MSX Red Book (revised version 1997/08/06) Notes from the editor: - The book was scanned and converted (via O.C.R.) by one person and edited by another (using an IBM PC compatible), independently. - All pages have a fix size of 64 lines. The width was not justified to make future modifications easier, though no line is longer than 80 columns. - This book only covers standard MSX. The BIOS entry points from 0000H to 01B5H should be used instead of the called entries described in the book, because other machines (MSX2, MSX2+, MSX turbo R and customized ones) have different positions for the routines. The use of internal BIOS routine addresses are responsible for many programs only running in MSX. - Some errors present in the original book were fixed, though it was tried to keep it as unaltered as possible. All page numbers match the originals, except undetected errors already present in the original. - Most figures were modificated due to the text-only nature of this file. The character set used during edition was the International IBM PC's one. The following special characters were used and should be changed to the corresponding ones of other character sets: Frame ÚÄÂÄ¿ Pound: œ characters: ³ ³ ³ Micro: æ ÃÄÅÄ´ ³ ³ ³ ÀÄÁÄÙ ------------------------------------------------------------------------------- CONTENTS Introduction .............................. 1 1. Programmable Peripheral Interface ...... 3 2. Video Display Processor ................ 8 3. Programmable Sound Generator ........... 21 4. ROM BIOS ............................... 26 5. ROM BASIC Interpreter .................. 89 6. Memory Map ............................. 208 7. Machine Code Programs .................. 240 Contents Copyright 1985 Avalon Software Iver Lane, Cowley, Middx, UB8 2JD MSX is a trademark of Microsoft Corp.
    [Show full text]
  • Freebasic-Einsteigerhandbuch
    FreeBASIC-Einsteigerhandbuch Grundlagen der Programmierung in FreeBASIC von S. Markthaler Stand: 11. Mai 2015 Einleitung 1. Über das Buch Dieses Buch ist für Programmieranfänger gedacht, die sich mit der Sprache FreeBASIC beschäftigen wollen. Es setzt keine Vorkenntnisse über die Computerprogrammierung voraus. Sie sollten jedoch wissen, wie man einen Computer bedient, Programme installiert und startet, Dateien speichert usw. Wenn Sie bereits mit Q(uick)BASIC gearbeitet haben, finden Sie in Kapitel 1.3 eine Zusammenstellung der Unterschiede zwischen beiden Sprachen. Sie erfahren dort auch, wie Sie Q(uick)BASIC-Programme für FreeBASIC lauffähig machen können. Wenn Sie noch über keine Programmiererfahrung verfügen, empfiehlt es sich, die Kapitel des Buches in der vorgegebenen Reihenfolge durchzuarbeiten. Wenn Ihnen einige Konzepte bereits bekannt sind, können Sie auch direkt zu den Kapiteln springen, die Sie interessieren. 2. In diesem Buch verwendete Konventionen In diesem Buch tauchen verschiedene Elemente wie Variablen, Schlüsselwörter und besondere Textabschnitte auf. Damit Sie sich beim Lesen schnell zurechtfinden, werden diese Elemente kurz vorgestellt. Befehle und Variablen, die im laufenden Text auftauchen, werden in nichtproportionaler Schrift dargestellt. Schlüsselwörter wie PRINT werden in Fettdruck geschrieben, während für andere Elemente wie variablenname die normale Schriftstärke eingesetzt wird. Quelltexte werden vollständig in nichtproportionaler Schrift gesetzt und mit einem Begrenzungsrahmen dargestellt. Auch hier werden Schlüsselwörter fett gedruckt. Der Dateiname des Programms wird oberhalb des Quelltextes angezeigt. Quelltext 1.1: Hallo Welt ’ Kommentar: Ein gewoehnliches Hallo-Welt-Programm CLS PRINT "Hallo FreeBASIC-Welt!" SLEEP 5 END ii Einleitung Es empfiehlt sich, die Programme abzutippen und zu testen. Die meisten Programme sind sehr kurz und können schnell abgetippt werden – auf der anderen Seite werden Sie Codebeispiele, die Sie selbst getippt haben, leichter behalten.
    [Show full text]
  • Sun City Summerlin Computer Club Seminar Beginning Programming with Visual Basic Script Edition
    Sun City Summerlin Computer Club Seminar Beginning Programming With Visual Basic Script Edition Tom Burt August 31, 2006 This seminar is an experiment. It will present a quick overview of the fundamentals of computer programming, including two “real world” examples. The audience is experienced computer users who can think logically and translate a procedure or other activity into a sequence of steps. For this introduction, we will mainly use the VBScript language, which is a dialect of Microsoft BASIC. It is very similar to Visual Basic for Applications (VBA), which is built into most MS Office applications. It is also similar to the Visual Basic 6 programming language. The VBScript language runtime executive and programming documentation are available free from Microsoft’s Windows Scripting web site. (See the web links at the end of the presentation). If time permits, we’ll also look briefly at Microsoft’s FREE VB.Net 2005 Express Edition. 1 Where to Find the Materials Sun City Summer Computer Club Website Seminars: • http://www.scscc.com/smnr Acrobat file of these slides and Notes: • http://www.scscc.com/smnr/VBScript_Beginning_Programming.pdf ZIP file of the Examples: • http://www.scscc.com/smnr/Programming_Examples.zip TNB August 31, 2006 Intro - Programming VBScript 2 Seminar Agenda Visual Basic Versions and Reference Basic Programming Concepts VBSCRIPT Language -- Bio Break (~10 min) Program 1 – Ticket Draw Program 2 – Clean out Temp folders Web Site Links Open Q and A TNB August 31, 2006 Intro - Programming VBScript We’ll spend the first half of the seminar covering the key programming concepts of the VBScript language.
    [Show full text]
  • Table of Contents
    ^9/08/89 11:43 U206 883 8101 MICROSOFT CORP.. 12)002 Table of Contents m-^mm Table of Contaits 09/08/89 11:44 'Q206 883 8101 MICROSOFT CORP _ _ [ 1003 The Story Begins JAN The story of MS-DOS_begins ..in a hotel in Albuquerque, New Mexico. 1975 In 1975, Albuquerque was the home of Micro Instrumentation'Telemetry MiTS introduces the 8080-baseci Systems, better known as MITS- In January of that year, MITS had intro- Altair computer. duced a kit computer called the Altair. When it was first snipped, the Altair consisted of a metal box with, a panel of switches for input and output, a power supply, and-two boards. One board was the CPU.. At its heart was the 8-bit 8080 microprocessor chip from InteL The other board provided 256 bytes of memory. The Altair had no keyboard, no monitor, and no permanent storage. But it had a revolutionary price tag. It cost $397. For the first time, the term "personal computer" acquired a real-world meaning. The real world of the Altair was not, however, the world of business computing. It was-primarily the world of the computer hobbyist These first users of the microcomputer were not as interested in using spreadsheets and word processors as they were in programming. Accordingly, the first soft- ware for the Altair was a programming language. And the company that developed it was a two-man firm, in Albuquerque, called Microsoft FEB The two men at MiCTosof^ej^PailjAJten^and Bffl Gates-Allen and 1975 Gates-had met when-they were both students at Lakeside High School in Microsoft sails first BASIC to Seattle, where they began their computer-science education oa the school's MITS lor Altair time-sharing terminal By the time Gates had graduated, me two of them had computer.
    [Show full text]
  • Version Information Product Name Microsoft® Basic Keyboard Product
    Version Information Product Name Microsoft® Basic Keyboard Product Version Microsoft Basic Keyboard 1.0a Keyboard Version Microsoft Basic Keyboard 1.0a Product Dimensions Keyboard Length 17.6 inches (446 millimeters) Keyboard Width 7.09 inches (180 millimeters) includes palm rest Keyboard Depth/Height 1.26 inches (32.0 millimeters) with tilt legs folded Keyboard Weight 26.1 ounces (739 grams) Cable Length 78.7 inches (2000 millimeters) Compatibility and Localization Interface PS/2 Compatible Operating Systems Microsoft Windows® Vista™, Windows XP Home and Professional Edition, Windows 2000, and Windows Millennium Top-line System Requirements • Microsoft Windows Vista, Windows XP Home and Professional Edition, Windows 2000, or Windows Millennium Edition • PS/2 port Compatibility Logos Certified for Microsoft Windows Vista Software Version No software required Keyboard Localization Available language sets will vary by product and sales channel 104 key configuration: Chinese (Traditional), International English (ROW), and English (North America) 105 key configuration: English (UK), French (France), German (Germany), and Spanish (Latin America) 106 key configuration: Korean 107 key configuration: Portuguese (Brazil) 109 key configuration: Chinese (Simplified) and Japanese Product Feature Performance QWERTY Key Life 1,000,000 actuations per key Hot Key Features Web, Mail, and Search Hot Key Life 500,000 actuations per key Typing Speed 1000 characters per minute Storage Temperature & Humidity -40 °F (-40 °C) to 158 °F (70 °C) at 0% to 90% relative
    [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]
  • Personal Computing
    Personal Computing Thomas J. Bergin ©Computer History Museum American University Recap: Context • By 1977, there was a fairly robust but fragmented hobbyist-oriented microcomputer industry: – Micro Instrumentation Telemetry Systems (MITS) – Processor Technology – Cromemco – MicroStuf – Kentucky Fried Computers • Two things were needed for the personal computer revolution: 1) a way to store and retrieve data, and 2) a programming language in which to write applications. Homebrew Computer Club • March 5, 1975: the Amateur Computer Users Group (Lee Felsenstein, Bob Marsh, Steve Dompier, BobAlbrecht and 27 others) met in Gordon French’s garage, Menlo Park, CA • 3rd meeting drew several hundred people and was moved to the Coleman mansion • Stanford Linear Accelerator Center’s auditorium – Steve Wozniak shows off his single board computer – Steve Jobs attends meetings Homebrew-ed • 21 companies formed: – Apcose Apple – Cromemco Morrow – North Star Osborne • West Coast Computer Faire • Byte magazine, September 1975 • Byte Shop Both: images.google.com And then there was Traf-O-Data • October 28, 1955: William H. Gates III born – father: attorney mother: schoolteacher • Lakeside School: Lakeside Programming Group – Mothers Club: access to time-shared system at GE – Students hired by local firm to debug software – First computer program: Tic-Tac-Toe (age 13) – Traf-O-Data to sell traffic mgt. software (age 16) • 1973, Bill Gates enrolls at Harvard in pre-law. • Paul Allen is in his second year. January 1975, Popular Electronics: Altair • Allen shows
    [Show full text]
  • Visual Basic
    Visual Basic en.wikibooks.org December 29, 2013 On the 28th of April 2012 the contents of the English as well as German Wikibooks and Wikipedia projects were licensed under Creative Commons Attribution-ShareAlike 3.0 Unported license. A URI to this license is given in the list of figures on page 247. If this document is a derived work from the contents of one of these projects and the content was still licensed by the project under this license at the time of derivation this document has to be licensed under the same, a similar or a compatible license, as stated in section 4b of the license. The list of contributors is included in chapter Contributors on page 245. The licenses GPL, LGPL and GFDL are included in chapter Licenses on page 251, since this book and/or parts of it may or may not be licensed under one or more of these licenses, and thus require inclusion of these licenses. The licenses of the figures are given in the list of figures on page 247. This PDF was generated by the LATEX typesetting software. The LATEX source code is included as an attachment (source.7z.txt) in this PDF file. To extract the source from the PDF file, you can use the pdfdetach tool including in the poppler suite, or the http://www. pdflabs.com/tools/pdftk-the-pdf-toolkit/ utility. Some PDF viewers may also let you save the attachment to a file. After extracting it from the PDF file you have to rename it to source.7z.
    [Show full text]