Compiled, It Probably Won't Work Clude an Integrated Editor, Compiler

Total Page:16

File Type:pdf, Size:1020Kb

Compiled, It Probably Won't Work Clude an Integrated Editor, Compiler code, exits to the operating system, and runs the compiler. The compiler File Edit Pieu Search Run Debug Calls Options Help HELP: Table of Contents often finds typing and syntax errors, <Help on Help 'Contents, index Product Support Copyright= which means that the person doing Using QuickBASlC> BASIC Programming Language programming has to re-edit the file - 'Shortcut Key Summary: - Functional Beyuord Lists and compile it again. Edit Keys' - :Syntax Notation Conventions Once the program is successfully View Keys- Search Keys - Fundamental Building Blocks' compiled, it probably won't work 'Run and Debug Keys - Data types> Help Keys - Expressions and Operators correctly. So the programmer tries to - Nodules and Procedures figure out what went wrong, and Limits to QuickBASIC- - Selected Programs Version 1.5 Differences then makes corrections to the source - QB Command Line Options, - ASCII Character Codes code and starts the entire process Survival Guide - 'Keyboard Scan Codes over. Modern compilers often in- 5Bh 7uLML ORS)! ' This program graphically demonstrates six common sorting algorithms. Itlu t clude an integrated editor, compiler prints 25 or 13 horizontal bars, all of different lengths and all In random and debugger that make the process order, then sorts the bars from smallest to longest. less painful, but it still can be slow. Immediate The other group of languages is <ShiftF1=Heip> <F6=gindou> <F2=Subs> <F5=Bun> <FB=Step> om based on interpreters instead of com- Help table of contents, along with a bit of a program. pilers. The interpreter takes the code that you write and executes it one line or statement at a time. Instead of cre- This enables a programmer to type BASICA or have a short loader pro- ating a stand-alone program (a .COM and run a program without ever leav- gram called BASICA. These con- or .EXE file in the DOS world), an ing the interpreter and returning to flicting names seem to confuse users interpreter simply runs your source the operating system. That ease of even more.) code. Programmers still have to test use makes BASIC ideal for quick and BASICA and GWBASIC are little and rewrite code, but they don't have simple projects. changed from their early eight -bit an- to wait for a compiler to read and cestors. By today's programming translate the entire program before standards, they're archaic and out- the program can run. BASIC and DOS dated languages. This doesn't mean There are advantages to both sys- When IBM produced the first PC, it that they're useless; many good pro- tems. Compilers ensure that an entire put a small version of BASIC in the grams have been written in BASICA program is syntactically correct- computer's ROM chips. A user could and it's possible to write others. But they don't produce anything while turn on the machine without a disk, most good BASIC programmers the code contains typing errors. In- and BASIC would appear, just as it have moved on to more modern ver- terpreters, on the other hand, only did on other microcomputers like the sions of the language. look at one line at a time; so they may Apple II and TRS-80. The first ver- The most popular modern versions never check lines that don't happen to sion of PC DOS included a disk - of BASIC are QuickBASIC (QB) be executed. But interpreters start to based BASIC called BASICA, which version 4.5, BASIC Professional De- run a program as soon as they read the was an extension of the BASIC in velopment System (PDS) 7.0, and first line of source code. In essence, ROM. Every version of PC DOS PowerBASIC. The first two are pub- compile each line as it's running. since then, and every IBM personal lished by Microsoft; the third is from It's generally easier to write and computer, has continued to split SPECTRA Publishing. PowerBASIC debug a program for an interpreter. BASIC between built-in ROMS and was originally distributed by Borland But the program will always run a disk -based program. International as TurboBASIC. When more slowly, since the interpreter is Most versions of MS-DOS also Borland discontinued the product, never free of the job of translating include a version of BASIC called SPECTRA Publishing (1030D E. each line, one at a time. Also, if you GWBASIC. BASICA and GWBASIC Duane, Sunnyvale, CA 94086) bought want to share an interpreted program have the same functionality, but the program and has been updating with someone else, you have to make GWBASIC is self-contained because and distributing it ever since. (Up- sure that you both have a copy of the non -IBM computers can't legally grades are available for $65 when ac- same interpreter. And you can't be contain IBM's BASIC ROM code. companied by the old version's serial sure that someone else won't read It's possible to run GWBASIC on an number.) your program and use your ideas in IBM computer, but if you try to run My favorite of the trio is QB 4.5; his or her own programs. IBM's BASICA on a non -IBM com- PDS 7.0 is much the same but with a Languages like Fortran, C and puter, you face certain lock -up. This lot more advanced features and a Pascal have traditionally been imple- incompatibility between PC -DOS much higher price tag. QuickBASIC mented as compilers, and languages and MS-DOS seems to confuse users and PowerBASIC have list prices like BASIC, dBASE and most but serves little other purpose, except just under $100 and street prices less spreadsheets have been implemented that BASICA.EXE is smaller than than $70. as interpreters. The earliest micro- GWBASIC and loads from disk If you need to write very large and computer BASICs integrated a sim- slightly faster. (Some versions of MS- complex programs in BASIC, PDS ple line editor with the interpreter. DOS have renamed GWBASIC as 7.0 is your best compiler choice. Say You Saw It In ComputerCraft August 1991 / COMPUTERCRAFT / 59 .
Recommended publications
  • {PDF EPUB} Lotusscript for Visual Basic Programmers by IBM
    Read Ebook {PDF EPUB} Lotusscript for Visual Basic Programmers by IBM Redbooks Sep 01, 1996 · Lotusscript for Visual Basic Programmers Paperback – September 1, 1996 by IBM Redbooks (Author) See all formats and editions Hide other formats and editions This chapter describes the differences and similarities between Visual Basic Release 4 and LotusScript, which comes as part of Lotus Notes Release 4 and other Lotus products, such as Word Pro, Freelance, and Approach. We will compare the syntactical language portions of LotusScript and Visual Basic. Jun 03, 2003 · LotusScript is an object oriented programming language used by Lotus Notes (since version 4.0) and other IBM Lotus Software products. LotusScript is similar to Visual Basic. Developers familiar with one can easily understand the syntax and structure of code in the other. The major differences between the two are in their respective Integrated Development Environments and in the … SG24-4856-00, LotusScript for Visual Basic Programmers: SG24-4862-00, VisualAge DataAtlas Multiplatform Version 2 and Version 2.5: SG24-4864-00, AS/400 and Novell NetWare Interoperation: SG24-4867-00, TME 10 Cookbook for AIX Systems Management and Networking: SG24-4868-00, RS/6000 SP PSSP 2.2 Technical Presentation Oct 24, 2014 · Visual Basic. Dim PSObject as Object Set PSObject = CreateObject("PCOMM.autECLPS") PSObject.SetConnectionByName("B") LotusScript Extension. dim myPSObj as new lsxECLPS("B") An HACL connection name is a single character from A-Z or a-z. Oct 27, 2008 · this are free from IBM. You can download the Redbook(s) you need to get the job done. The books you need are: SG24-5670- 00 COM Together - with Domino SG24-4856 Lotusscript for Visual Basic Programmers These books are a bit of a tutorial on what you can and cannot do, and in what context(s).
    [Show full text]
  • {PDF EPUB} Learning IBM Basic: for the Personal Computer by David A
    Read Ebook {PDF EPUB} Learning IBM Basic: For the Personal Computer by David A. Lien Learning IBM Basic: For the Personal Computer [Lien, David A.] on Amazon.com. *FREE* shipping on qualifying offers. Learning IBM Basic: For the Personal Computer5/5(1)Format: PaperbackAuthor: David A. LienLearning IBM BASIC for the personal computer : Lien, David ...https://archive.org/details/learningibmbasic00lienLearning IBM BASIC for the personal computer Item Preview remove-circle Share or Embed This Item. ... Learning IBM BASIC for the personal computer by Lien, David A. (David Alvin), 1934-Publication date 1984 Topics IBM Personal Computer, BASIC (Computer program language), ComputersPages: 520Learning IBM BASIC for the personal computer (Book, 1985 ...https://www.worldcat.org/title/learning-ibm-basic...Get this from a library! Learning IBM BASIC for the personal computer. [David A Lien] Learning IBM BASIC For The Personal Computer: ISBN: 0-932760-13-9: Author: David A. Lien: Publisher: Compusoft Publishing: Price: $19.95: First Printing: 1984: Number of Pages: 496 Learning IBM BASIC for the Personal Computer by David A. Lien A copy that has been read, but remains in clean condition. All pages are intact, and the cover is intact. The spine may show signs of wear. Pages can include limited notes and highlighting, and the copy … Learning IBM Basic: For the Personal Computer Nov 1, 1983. by David A. Lien Paperback. $23.99. Only 1 left in stock - order soon. ... by David Lien Paperback. $3.76. More Buying Choices $3.76 ... Aug 22, 2008 · Author of MS-DOS, The BASIC handbook, an encyclopedia of the BASIC computer language, The BASIC handbook, Learning BASIC for Tandy computers, Learning Apple II BASIC, The IBM BASIC handbook, The Tandy 200 portable computer, Learning Microsoft BASIC for the MacintoshWritten works: Learning IBM Basic: For the Personal ComputerBooks by David A.
    [Show full text]
  • Compute Jul 1985
    Amazing Online Databases: Instant Information J~1 ·:s 1985 Issue 62 Vol. 7, No. 7 I $3.75 Canada ;a.. 02193 - Ill ISSN 0194-357 X The Leading Magazine Of Home, Educational, And Recreational Computing Softball Statistics: Is Your Team As Good As You Think? Ready-To-Run Programs Inside For Commodore 64, VIC, Atari, IBM PC, PCjr, Apple, Tl Extended Color Mode For Commodore Computers Atari LIST Ser An Easier W Edit BASIC Viewpo In IBM 11\SIC How To Open Windows On Your PC 8J PCjr For SpeedScript 3.0 Word Processor 07 0 The OKIMATE COLOR The first affordable "color screen print" program on diskette. color printers! Now you're set. The new OKIMATE Personal Color Just plug your new OKIMATE Printers are breaking through in flying Printer into your computer colors. They're the first low cost personal with the PLUG 'N PRINT printers that let you print in rainbows of package*. And print. dazzling colors. It's that easy. In Now your computer can take on new minutes you'll meaning. Because the OKIMATE Printers be printing can bring the information on your screen everything from to life. In brilliant colors. And for very financial reports little green. to souffle recipes. Fully equipped for reading, Home budgets to writing and 'rithmetic. original drawings. In The OKIMATE word processing capability rainbows of brilliant delivers crisp. clean business letters. term colors. papers. finan­ Built and backed by ca1. Lightweigh t. Cial repOrtS and the reliability leader. !:X. versatile : homework. So The new OKIMATE Personal Printers are draft quality and 40 cps now you can the latest example of Okidata's technolog­ print in min- ical craftsmanship.
    [Show full text]
  • Comparative Programming Languages CM20253
    We have briefly covered many aspects of language design And there are many more factors we could talk about in making choices of language The End There are many languages out there, both general purpose and specialist And there are many more factors we could talk about in making choices of language The End There are many languages out there, both general purpose and specialist We have briefly covered many aspects of language design The End There are many languages out there, both general purpose and specialist We have briefly covered many aspects of language design And there are many more factors we could talk about in making choices of language Often a single project can use several languages, each suited to its part of the project And then the interopability of languages becomes important For example, can you easily join together code written in Java and C? The End Or languages And then the interopability of languages becomes important For example, can you easily join together code written in Java and C? The End Or languages Often a single project can use several languages, each suited to its part of the project For example, can you easily join together code written in Java and C? The End Or languages Often a single project can use several languages, each suited to its part of the project And then the interopability of languages becomes important The End Or languages Often a single project can use several languages, each suited to its part of the project And then the interopability of languages becomes important For example, can you easily
    [Show full text]
  • IBM System I Application Modernization: Building a New Interface to Legacy Applications September 2006
    Front cover IBM System i Application Modernization Building a New Interface to Legacy Applications Comparison of the different ways to access the IBM System i platform Discussion of JSFs, HATS, Web services, portlets, IBM WebFacing Tool, and rich client Examples of building different client interfaces Guenther Hartung Rolf Andre Klaedtke Elena Lowery Estela McCarty Els Motmans Aleksandr Nartovich ibm.com/redbooks International Technical Support Organization IBM System i Application Modernization: Building a New Interface to Legacy Applications September 2006 SG24-6671-00 Note: Before using this information and the product it supports, read the information in “Notices” on page vii. First Edition (September 2006) This edition applies to IBM OS/400 V5R3 and IBM i5/OS V5R4. © Copyright International Business Machines Corporation 2006. All rights reserved. Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Notices . vii Trademarks . viii Preface . ix The team that wrote this redbook. ix Become a published author . xi Comments welcome. xi Part 1. Looking at the alternatives . 1 Chapter 1. Why you should consider new application interfaces . 3 1.1 Reasons for a change . 4 1.2 Up-front considerations and prerequisites . 5 1.3 IBM System i Developer Roadmap . 5 1.4 How to read this book . 6 Chapter 2. Modernizing System i legacy applications: Common business scenarios 7 2.1 Considerations for the scenarios and possible solutions . 8 2.2 Overview of the scenarios. 8 2.2.1 Scenario 1: Add a Web front end to a monolithic iSeries application .
    [Show full text]
  • Archived: NI-488.2 Software Reference Manual for MS-DOS
    NI-488.2™ Software Reference Manual for MS-DOS June 1997 Edition Part Number 370889A-01 © Copyright 1990, 1997 National Instruments Corporation. All Rights Reserved. Internet Support [email protected] E-mail: [email protected] FTP Site: ftp.natinst.com Web Address: http://www.natinst.com Bulletin Board Support BBS United States: (512) 794-5422 BBS United Kingdom: 01635 551422 BBS France: 01 48 65 15 59 Fax-on-Demand Support (512) 418-1111 Telephone Support (U.S.) Tel: (512) 795-8248 Fax: (512) 794-5678 International Offices Australia 03 9879 5166, Austria 0662 45 79 90 0, Belgium 02 757 00 20, Canada (Ontario) 905 785 0085, Canada (Québec) 514 694 8521, Denmark 45 76 26 00, Finland 09 725 725 11, France 01 48 14 24 24, Germany 089 741 31 30, Hong Kong 2645 3186, Israel 03 5734815, Italy 02 413091, Japan 03 5472 2970, Korea 02 596 7456, Mexico 5 520 2635, Netherlands 0348 433466, Norway 32 84 84 00, Singapore 2265886, Spain 91 640 0085, Sweden 08 730 49 70, Switzerland 056 200 51 51, Taiwan 02 377 1200, U.K. 01635 523545 National Instruments Corporate Headquarters 6504 Bridge Point Parkway Austin, TX 78730-5039 Tel: (512) 794-0100 Limited Warranty The media on which you receive National Instruments software are warranted not to fail to execute programming instructions, due to defects in materials and workmanship, for a period of 90 days from date of shipment, as evidenced by receipts or other documentation. National Instruments will, at its option, repair or replace software media that do not execute programming instructions if National Instruments receives notice of such defects during the warranty period.
    [Show full text]
  • CTM-PER User's Guide
    CTM-PER Continuous-Period Counter Keithley MetraByte Corporation CTM-PER Continuous-Period Counter Manual Part Number: 24826 Printed: March 1990 Rev. 1.0 Copyright @ 1990 KEITHLEY METRABYTE/ASYST/DAC 440 Myles Standish Boulevard Taunton, Massachusetts 02780 Telephone 5081880-3000 FAX 508/880-0179 WARNING Eeithley MetraByte assumes no liability for damages consequent to the use of this product. This product is not designed with components of a level of reliability suitable for use in life support or critical applications. Information furnished by Keithley MetraE3yte is believed to be accurate and reliable. However, the Keithley MetraByte Corporation assumes no responsibility for the use of such information nor for any infringements of patents or other rights of third parties that may result from its use. No license is granted by implication or otherwise under any patent rights of Keithley MetraByte Corporation. Eeithley MetraByte/Asyst/DAC is also referred to here-in as Keith@ MefmByte. BasicTMis a trademark of Dartmouth College. lBM@ is a registered trademark of International Business Machines Corporation. PC,XT, and AT@ are trademarks of International Business Machines Corporation. Microsoft* is a registered trademark of Microsoft Corporation. Turbo C* is a registered trademark of Borland International. ... -111 * WARRANTY INFORMATION All products manufactured by Keithley MetraByte are warranted against defective materials and worksmanship for a period of one year from the date of delivery to the original purchaser. Any product that is found to be defective within the warranty period will, at the option of Keithley MetraI3yte. be repaired or replaced. This warranty does not apply to products damaged by improper use.
    [Show full text]
  • The Rev.: an IBM BASIC Program for Bayesian Test Interpretation
    Behavior Research Methods, Instruments, & Computers 1992, 24 (3), 491-492 - PROGRAM ABSTRACTS/ALGORITHS The Rev.: An IBM BASIC program Thorndike (l986a, 1986b) extended this thinking to the for Bayesian test interpretation interpretation of standardized tests. In an assessment sit­ uation, he proposed combining a priori with current in­ RONALD D. FRANKLIN and DAVID B. ALLISON formation to form an estimate of the subject's "true" The Johns Hopkins School of Medicine score on some variable. For example, if, when assessing and The Kennedy Institute, Baltimore, Maryland a child's intelligence, knowledge of the child's score on an intelligence test administered 2 years earlier and on The Rev. is a BASIC computer program for IBM-PC­ an achievement test administered earlier that day, can both compatible systems that provides Bayesian estimates of "true" scores from multiple scores measuring the same be used as estimates of the child's "true" score on an construct. Psychological reports often include test scores intelligence test today? from earlier evaluations without objectively incorporat­ Disregarding earlier test scores when administering later ing them into current findings. Using Thorndike's for­ tests not only wastes information-described by Cohen mulas for objectively combining test scores while provid­ (1990) as a psychologist's most precious commodity­ ing estimates with reduced standard errors, the Rev. is but may ignore the more valid measure. Many psycholo­ an interactive program that facilitates test interpretation gists subjectively combine such information from differ­ by combining information from many test administra­ ent sources, but Thorndike (l986c) provides formulas for tions. The user provides four easily obtainable pieces of objectively combining test scores.
    [Show full text]
  • Practical-Computing
    85pMay 1984 Reviews Grid Compass, Sharp PC -5000 Olivetti M-24, Touch Screen HP 150 BBC Graphics ROM and telesoftware add-on Logo for Atari, Commodore 64, Spectrum Denmark DKr34.50, Greece Dra 245. Holland DFL8 50. Italy L4100, Spain Pts 360. Switzerland SFr7 40, Germany DM8 50. France Fr32.60, Canada C$4.50, Australia A$3.00, Singapore M$6.35. USA $3.95(D72162) Authorised Dealer Service Centre System Consultancy COMPUTECH FINANCIAL ACCOUNTING PACKAGES Payroll £375 Invoicing and Stock Recording £295 Sales, Purchases and General Ledgers each £295 Also costing and group consolidation COMPUTECH UTILITIES DISK for reliable error checking copying, diskette scan, interpret and patch, etc VisiCalc, Applewriter and other Apple software (Prices onrequest) COMPUTECH CHAIN MAIL A mailing merging document processor which may be used with text files, including random files and Applewriter 1.1 binary files COMPUTECH GRAPHICS DISK for printing Apple pictures and graphs on Epson and Microline (free with printers purchased from Computech)£30 COMPUTECH TERMINAL UTILITIES Apple to Apple and Apple to mainframe from £130 switches and jumpers provide hardware options without soldering OM 4:2).Got_ovavav_ DIPLOMAT VIDEO DIGITISER store a frame from video camera in etof a second, process and print - for Apple II £195 for APPLE //e, including 64K Extended 80 Column Card£345 DIPLOMAT PARALLEL Interface £80 DIPLOMAT SERIAL COMMUNICATIONS Interface £85 DIPLOMAT RAM 16 Memory Expansion £95 DIPLOMAT CLOCKICALENDAR £80 LOWER CASE Character Generator with Applewriter 1,1. enhancements £50 MICROMUX Data Exchange (Max 16 Ports) from £850 MATRIX PRINTERS, Microline and Epson with graphics and up to 200 cps from £222 MICROLINE Optional Character Generator £15 DAISY WHEEL PRINTERS, Olympia, Qume, Ricoh from £798 Prices exclude VAT, Carriage and Packing For full details phone for data sheets and a FREE demonstration CLIMPUTIECIrel SYS1 168 Finchley Road, London NW3 6HP.
    [Show full text]
  • Keithley Instruments, Inc. Data Acquisition Division A
    Keithley Instruments, Inc. Data Acquisition Division a a a User Guide for the Keithley MetraByte PCF-HRES PASCAL, C, & FORTRAN Callable Drivers For The DAS-HRES Rev ion B - November 1991 Copyright b Kelthley Instruments, Inc. 1991 Pert Number: 24817 Keithley Instruments, Inc. Data Acquisition Division 440 MYLES STANDISH BLVD., Taunton, MA 02790 TEL. 508/880-3000. FAX 508/980-0179 .. - III - Warranty Information All products manufactured by Keithley Instruments, Inc. Data Acquisition Division are warranted against defective materials and worksmanship for a period of one year fxum the date of dellvery to the original purchaser. Any product that is found to be defecttve within the warran@ period will, at the option of the manufacturer, be rewd or replaced. This warranty does not apply to products damaged by improper use. Warning Keithky hmtmments, Inc. Data Aaqukition Divirion umunem no liability for damager consequent to the ure of thk product. This product ir not designed wlth componentm of a kvel of reliability litabk for use in life rupport or critical applkationm. Disclaimer Information furnished by Keithley Instruments, Inc. Data Acquisition Division is believed to be accurate and reltable. However, the Keithley Instruments, Inc. Data Acquisition Division assumes no responsibility for the use of such information nor for any infringements of patents or other rights of third parties that may result from its use. No license is granted by implication or otherwise under any patent rights of the Keithley Instruments, Inc. Data Acquisition Division. Copyright AU rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form by any means, electronic, mechanical, photoreproductive, recording, or otherwise without the express prior written permission of the Keithley Intsruments, Inc.
    [Show full text]
  • Systems Reference Library
    File No. S360-20 Form C24-3420-0 Systems Reference Library IBM System/360 Basic Programming Support and IBM Basic Operating System/360 Programming Systems Summary This publication describes the general function, capabilities, and application of the programming support of IBM System/360 at the 8K and 16K levels. At these levels of support, Basic Operating System/360 consists of a comprehensive set of commercial, scientific, and process control programming aids operating under supervisory control and coordination of an integrated control program. The IBM System/360 Basic Programming Support con­ sists of programs and programming aids (distinct from Basic Operating System/360 or Operating System/360) providing pro­ gramming support for small card or tape configurations of IBM System/360. For a list of associated publications and their abstracts, see the IBAf System/360 Bibliography, Form A22-6822. Preface This publication serves as a general introduction to the IBM System/360 Basic Programming Support and the IBM Basic Operating System/360. Because many combinations of programming and computing facili­ ties are possible with IBM System/360, no attempt is made in this summary to relate the programming fa­ cilities to specific machine requirements. Only the minimum machine configurations (see Appendices) for each of the programming facilities are included. Summary descriptions of programs are provided in this publication. More detailed information can be found in other publications. These publications are abstracted and listed by form number in IBM System/ 360, Bibliography, Form A22-6822. Copies of this and other IBM publications can be obtained through IBM Branch Offices. A form has been provided at the back of this publication for readers' comments.
    [Show full text]
  • Gfa BASIC for Atari ST)
    TOTALLY BASIC A Reference, Cross-Reference and Substitution Guide. Covering over two dozen subsets on nearly a dozen platforms from A to ZOrder. Direct support for: AMIGA: Amiga Basic, Hi Soft BASIC and True BASIC. Apple II: Integer BASIC and Apple Soft BASIC. Atari 8 bit: Atari XL BASIC. Atari ST. ST BASIC 1.0/2.0, Hi Soft BASIC, BBC BASIC, FAST BASIC and GfA BASIC. Commodore 8 bit: PET, C-64 BASIC and C-128 BASIC. CP/M: MBASIC and ABASIC. Macintosh: MS BASIC, Z BASIC, Future BASIC, VIP BASIC and True BASIC. Mainframes: ANSI Minimal BASIC. PC DOS: Business BASIC II. BASICA, IBM BASIC, MS BASIC, GW BASIC, QBASIC, Quick BASIC, Turbo BASIC, Power BASIC, True Basic, Microsoft Professional Development Basic 7.0 and Visual BASIC. PC Windows: CA REALIZER, Visual BASIC 1 through 6 Professional. Psion: OPL. Tandy/Radio Shack: TRS-80 BASIC, Color Computer BASIC and Tandy BASIC for PC. Timex - Sinclair: 100 BASIC. Spectrum Color BASIC. VAX: DCL BASIC. Copyright © 2003 by Earl R. Dingman. All Rights Reserved. TOTALLY BASIC: A Reference ©1989-2003 Earl R. Dingman ACOS() (GfA BASIC 3.0 for Atari ST, True BASIC for Amiga, Macintosh, PC and Unix) Provides the Arc COSine for the value placed inside the parentheses. Syntax: PRINT ACOS(n) or X = ACOS(n) Substitutions: Generally use a DEF FN or DEFFN function: DEF FNACOS(n) = ATN(n / SQR(-n * n+1)) + 1.5708 Then you would use the created function in the program: FNACOS(n). Also see: DEF FN and DEFFN plus OPTION ANGLE ACS SUBSTITUTION FACTOR: Excellent PORTABILITY: None ACS (Timex/Sinclair BASIC) Returns the Arc CoSine of a value in radians.
    [Show full text]