Micol_Advanced_BASICv5-Manual.pdf

(10880 KB) Pobierz
Structured Compiled
tem
the Apple IIGS
Versio~_
. ,,0
Introduction
Limit Of Liability
While every precaution has been taken to ensure the correctness of the software and
its accompanying manual, Micol Systems Inc. cannot assume any responsibility or
liability for any damage or loss caused by our software.
It
is the responsibility of the
user to make the necessary backups for the data and programs.
Please be aware the the
Micol Advanced BASIC
Users Group (MABug) is a totally
independent organization from Micol Systems and therefore Micol Systems cannot
assume any responsibility for MABug. At the time of publication of this manual, the
status of MABug is uncertain, so please do not send any money until you have verified
MABug's status. The example programs contained on the IMAB.SUPPORT disk
mentioning MABug have been included only because they are outstanding examples of
what
Micol Advanced BASIC
can do. If you have any information regarding MABug,
please let us know.
Apple Computer, Inc. makes no warranties, either express or implied,
regarding the enclosed computer software package, its merchantability or its
fitness for each particular purpose. The exclusion of implied warranties is not
permitted by some states. The above exclusion may not apply
to
you. This
warranty provides you with specific legal rights. There may be other rights
that you may have which vary from state to state.
GS/OS is a copyrighted program of Apple Computer, Inc. licensed to Micol
Systems Inc. to distribute for use only
in
combination with Micol Advanced
BASIC (GS version). Apple software shall not
be
copied onto another diskette
(except for archival purposes) or into memory unless as part of the execution
of Micol Advanced BASIC. When Micol Advanced BASIC (GS version) has
completed execution, Apple software shall not be used in any other program.
Product Revision
Micol Systems Inc. reserves the right to make improvements to this software and
manual at any time without notice.
The text file INFO.DOC on the IMAB.SUPPORT disk contains the latest
information about this product which could not be included in the manual at the time of
publication. Be sure to read this file into the editor for up-to-date information.
Copyright Notice
This technical manual and the related software contained on the diskettes are
copyrighted materials. All rights reserved.
Duplication of any of the above described materials for other than personal use of the
purchaser, without express written permission of Micol Systems Inc., is a violation of the
ii
Introduction
copyright laws of the United States and Canada, and is subject to both civil and criminal
prosecution.
Apple, the Apple logo, Apple IIGS, AppleShare, ImageWriter, LaserWriter, Apple 3.5,
Finder, GS/OS, QuickDraw and UniDisk are trademarks of Apple Computer, Inc.
Micol BASIC, Micol Advanced BASIC, Micol Advanced Utilities
and
Micol MACRO
are trademarks of Micol Systems Inc.
Micol BASIC, Micol Advanced BASIC,
the
Micol
Advanced Utilities
and
Micol MACRO
are copyrighted programs of Micol Systems Inc.
Micol Systems Inc. is an independent software developer.
Copyright ©1988-93 by Micol Systems Canada and Micol Systems Inc.
Published in Canada.
ISBN 0-921270-04-6
Software: Micol Systems Inc., Willowdale, Ontario
Documentation: Micol Systems Inc., Willowdale, Ontario and Redaction Electronique
Enr., St-Hyacinthe, Quebec
FIRST EDITION, July 1988.
SECOND EDITION, revised, corrected, and enlarged.
First printing, February, 1992
Third printing, June, 1992
Version 5.0 manual, first printing, August, 1993
Micol Advanced BASIC
Table of Contents
iii
Table of Contents
Introduction
Limit Of Liability"""""""""""""""""""""""""""""""""""""",j
Product Revision""""""""""""""""""""""""""""""""""""""",i
Copyright Notice""""""""""""""""""""""""""""""""""""""",i
Part One: Overview of the Language
Chapter One: General
Review.......................................................
1
General Comments "" """ '''''''''''''''' """"""" """,,' '"'''''''' '''''''''' '" "',," 1
Overview"" "" """ """ """ """",,",,"""""""" """'" "'" """ ",,"""""""" 1
Some Advantages of the Language """""",, ,,""""""""" """""",,""" 1
The Components of the Language System """""""""""""""""""",,2
1. The Command Shell"""""""""" """ '" "'''''''''''' ",,,',""""'''''''' ",2
2, The Source Code Editor """"""""""""""""""""""""""""""",2
3, The Full-featured Compiler and Linker ",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,3
4, Full-featured Structured BASIC Language ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,3
How this Manual is Organized" """" """" """" """ """ """"" """""
",4
The Micol Advanced BASIC System Disks """""""""""""""""""",5
What You Need to Know""""" '"'''''''' "'"'' "'''''''''''' """"""" ",""""" ,,6
Hardware Requirements"""""""""""""""""""""","""""""""""",,7
Suggested Additional Hardware, ,""",,""" """" "'" """" '" ",,,", '"'' 7
Run Time Memory Needs of Stand Alone Applications"""""""",7
Setting up Micol Advanced BASIC on a Hard Drive "",,,,,,,,,,,,,,,,,,,,,,7
Using Micol Advanced BASIC with the Finder """""""""""""""",,8
Using Micol Advanced BASIC With a RAM Disk""""""""""""""",8
Using Micol Advanced BASIC With Your Printer """"""""""""",,,,9
Configuring Your Printer Using the Control Panel.."""""""""",9
If You Need Assistance '" "'"'' """""" '''''''' '" "'" ",,"" """""""",,"'"'' ,,9
Compatibility Overview""" "'" "'" """ ,,",," """" ",,""""" ,,"""" ",,",," 10
Applesoft BASIC"" '''''''' """",,""" ",,",,""" """" """ """"" "'"'' ",," 10
Micol Advanced BASIC for the Apple lIe/IIc"""""""""""""""""l1
Earlier Versions ofMAB for the Apple IIGS """""",,,,,,,,,,,,,,,,,,,,,,11
Syntactic Symbols Used in this Manual..""""""""""""""""""""""l1
Chapter Two: Getting
Started....................................................... 13
A Brief History of BASIC """" """""" """" """" '''''' """" """ ,,"""""" 13
Writing Your First Program in Micol Advanced BASIC """"""""",,13
Entering Program Examples""""" """"" """ """""" "'''''' "",,",," """ 15
Suggested Manuals '''''''''' """",,"" """" '" "'"'''''' """"""" """" ""'"'''' 16
Acknowledgments"""""""""""""""""""""""""""""""""""""""",,16
Introduction
Zgłoś jeśli naruszono regulamin