Manual

Manual




XYBASIC Programming Manual


Show Description
Show Manual
Show PDF
Show Summary

TABLE OF CONTENTS


PREFACE

HOW TO USE THIS MANUAL

Chapter I: XYBASIC TUTORIAL

        Section 1: A Quick Introduction to XYBASIC
                Initialization Dialog
                A First Program

        Section 2: Traditional BASIC Commands
                Integer and Extended Versions
                Numbers
                Variables
                LET and PRINT
                RUN
                LIST
                Errors and Correcting Your Program
                NEW
                CLEAR
                GOTO and <control-C>
                CONT
                Control Characters
                INPUT
                REM and '
                IF / THEN
                STOP
                END
                GOSUB and RETURN
                READ, DATA and RESTORE
                FOR and NEXT
                ON / GOTO and ON / GOSUB
                DIM
                Multiple Commands Per Line

        Section 3: Numeric Formulas
                Arithmetic Operators
                Conversions
                Relations
                ABS
                SGN
                MOD
                SQR
                LOG
                EXP
                SIN, COS, TAN and ATN
                INT
                RND and RANDOMIZE
                FRE
                UNS
                DEF FN
                Variable Types

        Section 4: Strings
                Quoted Strings
                String Variables
                LEN
                Concatenation (+)
                LEFT$, RIGHT$ and MID$
                CHR$
                ASC
                Relations
                String Arrays
                String Functions
                INSTR
                GET$
                STR$ and VAL
                CLEAR and FRE$

        Section 5: PRINT Related Commands
                SPC
                TAB
                POS
                CHR$
                NULL

        Section 6: Input/Output, Saving and Loading Programs
                ASSIGN
                IOBYTE
                SAVE and LOAD

        Section 7: Debugging
                TRACE and UNTRACE
                BREAK and UNBREAK

        Section 8: Bit Manipulation and Control Features
                Integer Representations
                TEST
                Logical Operators
                SET and RESET
                ROTATE, RSHIFT and LSHIFT
                BCD and BIN
                HEX$, OCT$ and BIN$
                MSBYTE, LSBYTE and JOIN
                GET
                DELAY
                TIME

        Section 9: Machine Control Functions
                OUT
                IN
                PEEK
                POKE
                SENSE
                WAIT

        Section 10: Interrupts
                ENABLE
                DISABLE

        Section 11: Machine Language Linkage
                CALL
                SCALL

        Section 12: ROMSQuared Features
                Working Space
                MOVE
                EXEC
                FIRST and LAST
                Default Initialization Options

        Section 13: Errors
                TRAP and UNTRAP
                Error Types

        Section 14: Editing Commands
                AUTO
                DELETE
                EDIT
                RENUM

        Section 15: CP/M Sequential Disk Commands
                Filenames
                OPEN
                CLOSE
                PRINT
                MARGIN
                INPUT
                LINPUT
                EOF
                DIR
                SCRATCH
                CLEAR

Chapter II: VERSION DIFFERENCES

        Section 1: CP/M Version

        Section 2: ISIS-II Version

        Section 3: Custom I/O Version
                Device Driver Locations
                Sample I/O Patch
                SAVEd Program Format
                Saving and Loading Under Operating Systems

        Section 4: INTEL SBC Series Versions

        Section 5: AMD 9511 Floating Point Version

        Section 6: XYBASIC Compiler
                Compiler Operation
                Object File Execution

        Section 7: XYBASIC Runtime Module

        Section 8: Customized OEM Versions

Chapter III: SHORT FORM DESCRIPTION

        Section 1: Conventions

        Section 2: Direct Commands

        Section 3: Traditional BASIC Commands

        Section 4: Numeric Formulas

        Section 5: String Formulas

        Section 6: Input / Output Commands

        Section 7: Control Commands

        Section 8: Debugging Commands

        Section 9: ROMSQuared Commands

        Section 10: Editing Commands

        Section 11: CP/M Sequential Disk Commands

        Section 12: Special Characters

APPENDICES

        Appendix 1: Initialization Dialog

        Appendix 2: Speed and Space Hints

        Appendix 3: Reserved Word List

        Appendix 4: Character Set

        Appendix 5: ASCII Character Equivalents

INDEX

USER REACTION REPORT

The XYBASIC Programming Manual was originally © Mark Williams Company. It is posted here by generous permission of Robert Swartz, the current copyright holder.


Show Description
Show Manual
Show PDF
Show Summary