COMAL_Handbook.pdf

(17106 KB) Pobierz
D
D
D
D
D
D
n
n
o
n
COMAL HANDBOOK
Len Lindsay
n
Reston Publishing Company, Inc.
A Prentice-Hall Company
Reston, Virginia
/ dedicate this book
to my beautiful four-year-old daughter
RHIANON
and
to all other future programmers.
| |
u
u
u
u
Library of Congress Cataloging in Publication Data
Lindsay, Len.
COMAL handbook.
II. Title: COMAL handbook
QA76.73.C26L56 1982
1. COMAL (Computer program language) I. Title.
001.64'24
82-12233
U
I I
ISBN 0-8359-0878-X
PET and CBM are trademarks of Commodore.
©1983 by Len Lindsay
All rights reserved. No part of this book
\j
I
u
it
. ,
may be reproduced in any way or by any means,
without permission in writing from the publisher.
10
987654321
Printed in the United States of America
n
n
n
n
n
n
n
n
CONTENTS
Preface ix
Foreword
xi
Introduction xiii
What is COMAL, xiii
How to Use This Book, xiv
Explanation of Common (items), xix
<disk file name), xix
(tape file name), xix
(variable name), xx
(identifier), xx
(expression), xxi
(numeric expression), xxi
(string expression), xxii
(statements), xxii
(unit), xxii
CBM 8000 Series Special Editing Functions, xxiii
Special Note, xxiv
Keyword Section
ABS, 1
AND, 2
APPEND, 4
ASC {see ORD)
AT, 6
ATN, 8
AUTO, 9
BASIC, 10
CASE, 11
CAT, 13
CHAIN, 15
CHR$, 17
CLOSE, 19
CLOSED, 21
BACKUP {see PASS and procedure DISK-COMMAND - APPENDIX D)
o
n
CLR (not available in COMAL)
CMD {see SELECT and OUTPUT)
COLLECT {see PASS and procedure DISK-COMMAND - APPENDIX D)
CON, 23
CONCAT {see PASS and procedure DISK-COMMAND - APPENDIX D)
CONT {see CON)
COS, 25
CURSOR, 26
n
n
in
COPY {see PASS and procedure DISK-COMMAND - APPENDIX D)
Zgłoś jeśli naruszono regulamin