manuals.online logo
Brands
  1. Home
  2. •
  3. Brands
  4. •
  5. Vector
  6. •
  7. Desktop
  8. •
  9. Vector Basic Interpreter Basic 80 User manual

Vector Basic Interpreter Basic 80 User manual

Other Vector Desktop manuals

Vector VIP Installation guide

Vector

Vector VIP Installation guide

Vector VIP Installation guide

Vector

Vector VIP Installation guide

Popular Desktop manuals by other brands

StarTech.com ARMSTSL manual

StarTech.com

StarTech.com ARMSTSL manual

Dell Inspiron 5720 quick start guide

Dell

Dell Inspiron 5720 quick start guide

GÜDE WERKBANK GW 6/2 XL Translation of the original instructions

GÜDE

GÜDE WERKBANK GW 6/2 XL Translation of the original instructions

Lenovo ThinkCentre M62z Vodič za uporabnika

Lenovo

Lenovo ThinkCentre M62z Vodič za uporabnika

Lenovo ThinkCentre M71z user guide

Lenovo

Lenovo ThinkCentre M71z user guide

Fujitsu ESPRIMO C7xx operating manual

Fujitsu

Fujitsu ESPRIMO C7xx operating manual

Bosch DCU 130 operating instructions

Bosch

Bosch DCU 130 operating instructions

Zotac VR GO quick start guide

Zotac

Zotac VR GO quick start guide

HP 260 G2 DM Product End-of-Life Disassembly Instructions

HP

HP 260 G2 DM Product End-of-Life Disassembly Instructions

Sony VAIO VGC-LS21 Specifications

Sony

Sony VAIO VGC-LS21 Specifications

HP ProOne 400 G1 specification

HP

HP ProOne 400 G1 specification

IBM PS/2 60 Hardware maintenance service

IBM

IBM PS/2 60 Hardware maintenance service

Acer Aspire SA60 Service guide

Acer

Acer Aspire SA60 Service guide

Lenovo ThinkCentre M71z Uživatelská příručka

Lenovo

Lenovo ThinkCentre M71z Uživatelská příručka

IBM Aptiva 2198 reference guide

IBM

IBM Aptiva 2198 reference guide

Sony PCV-LX810 - Vaio Slimtop Computer System reference manual

Sony

Sony PCV-LX810 - Vaio Slimtop Computer System reference manual

Dell Precision U3525 Quick reference guide

Dell

Dell Precision U3525 Quick reference guide

MicroTouch IC-215P-AW2 user guide

MicroTouch

MicroTouch IC-215P-AW2 user guide

manuals.online logo
manuals.online logoBrands
  • About & Mission
  • Contact us
  • Privacy Policy
  • Terms and Conditions

Copyright 2025 Manuals.Online. All Rights Reserved.

5IA)iC
intc:tit=tcl:c=t
MIClOSOI"l'
BASIC-88
Rsrision 5.9
RE 'ERENC MANUPd.
Revision A
January
1, 1988
CopyriC)ht1988 Vector Graphic Inc.
Copyright 1979 Microsoft
Copyright
1980 by
Vector Graphic Inc.
All rights reserved.
Disclaimer
Vector Graphic makes no representations or warranties with respect to the
contents of this manual itself, \1ohetheror not the product it describes is
covered
by
a warranty or repair agreement. Further, Vector Graphic reserves
the right to revise this publication and to makechanges from time to time
in the content hereof without obl igation of Vector Graphic to notify any
person of such revision or changes, except ~en an agreement to the contrary
exists.
Revisions
The date and reV1Slon of each page herein appears at the bottom of each
page. 'I'he revision letter such as A or B changes if the MANUALhas been
improved but the PRODUCTitself has not been significantly ItDdified. 'I'he
date and revision on the Title Page corresponds to that of the page most
recently revised. Whenthe product itself is roodified significantly, the
product will get a new revia ion number, as shownon the manual's title page,
and the manual will revert to revision A, as if it were treating a brand new
product. EAaiMANUALSHOULDONLYBEUSEDWITHTHEPRODUCTIDENTIFIEDONTHE
TITLEPAGE.
'Ibis manualis intended for cemputer
suppliers, or others with at least a
nr::x:1eratetechnical knowledgeof small
canputers and canputer progranming,and the
basic c:p ration of the Vector Graphic
canputer to be used.
'Ibis manualwill describe the features,
cannands, and syntax of Microsoft BASIC-80,
Revision 5.0, ani explain howit is used
on a Vector Graphiccanputer that uses CP/M
as its c:p rating system. ' houghit oovers
every aspect of the language, it is not
intended as a training manualfor novice
programners•
Chapter
1
discusses BASIC-80generally.
Chapter 2 contains the syntax and use of
every cxmnandand statenent in BASIC-80,in
alphabetic order. Chapter 3 describes every
intrinsic function in BASIC80, also alpha-
betically. In the appendices, certain
tcpics such as disk I/O, using assembly
languagesubroutines, the relationship to
CP/M,ani the carrpatibility with the BASIC
carpiler, are discussed in greater detail,
and there are lists of error messages,ASCII
codes, mathfunctions, newfeatures in
Revision 5.0, ani sane tips on converting
£ran other BASIC's.
\
This is the reference manual for Vector Graphic's implementation of
Microsoft's BASIC-Se,Revision 5.e, one of the most extensive and .high-speed
BASIC'savailable. It meets the ANSIqualifications for BASIC,as set forth
in documentBSRX3.60-l97S. Vector Graphic is proud to offer; the BASIC-S0
interpreter with Vector GraPlic systems.
For readers familiar with earlier versions of Microsoft BASIC,AppendixA
describes the enhancements in Revision 5.0 over earlier releases, including
incanpatibilities with them. If you have software written in one of the
earlier versions, check Appendix A for new features that may affect
execution.
This manual covers a number of upward compatible versions of BASIC-Se,
specifically the -SK,- -Extended," an; "Disk- versions. My feature in the
SKand Extended versions is available in the Disk version. The version
available fran Vector Graphic is the Disk version. Therefore, everything
described in this manual is present in the Vector Graphic implementation, no
matter ~at version it is listed under.
Most users will makeuse of the BASIC-aainterpreter. (The interpreter
is a progrClll ~ich allows entry and ed tiB3 of BASICprograms, and executes
them line by line W1eneverdesired.) For certain specialized applications,
the Microsoft BASICcompiler (BASCOM)is also available through Vector
Graphic. 'lbe canpiler allows ~u to convert a BASIC-S0progrClll, originally
written and debu;ged using the interpreter, into machine language, Wlich can
then be executed at very high speed. \\hen ~u obtain the canpiler, you will
receiver a manual detailing its use, but because it maybe relevent to a
user of the BASIC-aeinterpreter, Appendix L discusses the BASICcanpiler in
brief. Note that Appendix L lists several features which are present in the
interpreter but \tbich are absent or different in the canpiler. Programmers
intending to compile BASIC-S0programs must pay attention to these
differences.
In a Vector Graphic canputer, BASIC-Seruns in conjuction with the CP/M
operating system. The name of the BASIC-Seinterpreter file on the disk
supplied by Vector Graphic is -MBASIC.CQtl.- Therefore, in order to call up
the interpreter fran the CP/Mexecutive, do the following: First, if MBASIC
is not already present on the main CP/Mdiskette, mount the BASIC-Sedisk in
drive A. Then, following the A> prompt, type MaASle and then press the
RETURNkey. Optionally, you can enter one or more parameters before
depressil'Xl RETURN,including the name of the BASICprogram you want to
execute, the number of files you want OPENat one time, and the highest
memorylocation you want BASICto use. These options are discussed in
Appendix D. In this manual, the term -initialization" means the above
process, of calling up BASIC-Se,nothil'Xlmore.
Of particular interest is the option to immediately execute a BASIC
program by typiB3 its nane as a paraneter followil'Xl the word MBASIC. This
causes the program to be loaded, and then executed as if a RUNcommandwere
typed. In other words, the system jumps directly into the application
program whenMBASICis called up. Further, if you are using CP/M2, rather
than an earlier version of CP/M,you can configure ~ur system diskette to
bypass the CP/M.executive and instead carry out a particular CP/Mcommandor
utility, su::h as calling up MSASIC. You accomplish this by creating an
"auto" command, which you do
by
running the CONFIGutility present on the
CP/M2 serialized diskette. If your auto camnandcontains "MBASIC"followed
by the name of a BASICprogrClllon the same diskette, optionally followed
by
other parasneters, followed
by
a RETURN,then \lben you boot up the system, it
will bypass all executives and automatically begin executing the BASIC
program. (This assumes MBASIC.CCMand the BASICprogram are on the system
diskette aloD; with CP/M.) This allows creation of an attractive "turn-key"
package.
Appendix 0 explains several other canmandsand aspects of BASIC-aethat
deal specifically with CP/M. Use it as an integral part of this manual.
Please note the followirJ;J points whenusirJ;J this manual:
It is NOTnecessary to create a file tnder the CP/Mexecutive before it
can be used
by
BASIC-aa.
To return to the CP/Mexecutive fran the BASIC-8eexecutive, tyPe SYSTEM
followed
by
the RETURNkey.
Whenusin;r a Vector System B, Memorite II, Vector 3"311l,or other Vector
Graphic system having "memorymappedvideo" and using the option
gv
Extended
Systems M:>nitor, do NOTpress the LF or LINEFEEDkey in order to continue a
BASICline on a second line on the screen. Instead, the video driver will
cause the text to
"wrap
aro\.md"automatically. The same is true for any
serial terminal that has automatic wrap around.
~en listing progran text or output, BASIC-a"assunes it is outputting to
a l32-character widtb printer. If your system's printer is narrower, it
will be able to print lOn;Jlines only if the printer or the printer driver
software in the operating system has the ability to automatically wrap
around at the end of a line. '1bis is dePendent on the particular pr inter
you are using.
References to "printing" in this manual, as in most BASICmanuals, refer
to displaying text on the operator's console, which is usually a video
screen. ' be tem "printing" derives fran the original use of Teletype and
other hard-copy printin;J terminals. ' be manual will refer specifically to
the "line printer" when referring to output intended for the system's output
printer, (sometimes called the "lister"), which is usually a separate
peripheral fran the operator's console. OUtput directed
by
BASIC-Sillto the
"line printer" is sent
by
BASIC-aeto CP/M's logical lister output routine,
which normally saRis the data out via a channel connected electronically to
a printer of some kind. The t"'lOcanmandsthat cause BASIC-a"to send data
in this way to the "line printer" are LLISTand LPRINT.
Reference is made in several places to the console's bell. This is only
relevent if the terminal you are using has a bell. The Vector Graphic
memory-mapPedvideo console at this time has no bell.
APPENDIX C Assembly Language Subroutines
APPENDIX 0 BASIC-SO with the CP/M Operating System
APPENDIX E
APPENDIX I Converting Programs to BASIC-SO
APPENDIX
J
Summary of Error Codes and Error Messages
APPENDIX K Mathematical Functions