then a carriage return/line feed is

 

executed.

 

"VALUE IS" will be displayed and printed.

 

String expressions may be printed.

STATEMENT

SYNTAX/FUNCTION

READ

READ variable [, variable]

 

Read data into specified variables from a

 

DATA statement. The first piece of data

 

read will be the first piece of data listed in

 

the first DATA statement of the program.

 

The second piece of data read will be the

 

second piece listed in the first DATA

 

statement, and so on. When all of the data

 

have been read from the first DATA state-

 

ment, the next piece of data to be read will

 

be the first piece listed in the second DATA

 

statement of the program. Attempting to

 

read more data than there is in all the

 

DATA statements in a program will cause

 

an OD (out of data) error.

STATEMENT

SYNTAX/FUNCTION

SPC

SPC (expression)

 

Prints I space [or blank) characters on the

 

terminal. May be used only in a PRINT

 

statement. I must be =>0 and <=255 or

 

an FC error will result.

STATEMENT

SYNTAX/FUNCTION

TAB

TAB (expression)

 

Spaces to the specified print position

 

(column) on the printer. May be used

 

only in PRINT statements. Zero is the

 

leftmost column on the termainl, 19 the

 

rightmost. If the carriage is beyond pos

 

position I, then no printing is done. I must

 

be =>0 and <=255.

 

If I is greater than 19, the printer will skip

 

the required number of lines to arrive at

 

the specified position.

306STRING FUNCTIONS

STATEMENT SYNTAX/FUNCTION

ASC

ASC (string expression)

 

Returns the ASCII numeric value of the

 

first character of the string expression X$.

 

See Appendix E for an ASCII/number

 

conversion table. An FC error will occur

 

if X$ is the null string.

STATEMENT

SYNTAX/FUNCTION

CHR$

CHR$ (expression)

 

Returns one character, the ASCII equiva-

 

lent of the argument (I) which must be a

 

number between 0 and 255. See Appendix E.

STATEMENT

SYNTAX/FUNCTION

GET

GET string variable

410 PRINT ! "VALUE IS";A

420 PRINT MID$(A$,2);

EXAMPLE

490 READ V,W

EXAMPLE

250 PRINT SPC(I)

EXAMPLE

240 PRINT TAB(I)

EXAMPLE

300 PRINT ASC(X$)

EXAMPLE

275 PRINT CHR$(I)

EXAMPLE

10 GET A$

Page 244
Image 244
Apple II Statement SYNTAX/FUNCTION Read, Statement SYNTAX/FUNCTION SPC, Statement SYNTAX/FUNCTION TAB, Print ! Value ISA

II specifications

The Apple II, launched in April 1977, was one of the first highly successful mass-produced microcomputer products. It marked a significant leap in personal computing, setting standards for future developments in the industry. Created by Steve Wozniak and Steve Jobs, the Apple II differentiated itself with its user-friendly design, appealing aesthetics, and robust capabilities.

One of the standout features of the Apple II was its open architecture, which allowed users to expand and enhance the computer's functionality. This design enabled hundreds of third-party hardware and software developers to contribute to its ecosystem, resulting in an array of peripherals, including printers, modems, and storage devices. The Apple II utilized a MOS Technology 6502 microprocessor running at a clock speed of 1 MHz. Initially equipped with 4 KB of RAM, the machine could be expanded to 48 KB, accommodating more complex applications and programs.

The Apple II was also notable for its colorful graphics. It was one of the first computers to support color display, offering a 6-color palette with a resolution of 280x192 pixels in 16 colors when using its Color Graphics Card. This feature significantly enhanced the visual appeal of games and educational software developed for the platform, making computing more accessible and entertaining for various audiences.

Apple's commitment to user experience was evident in the design of the machine. It featured an integrated keyboard and a plastic case, which was both durable and visually appealing. The self-contained design included drive bays for floppy disk drives, allowing for quicker data access than traditional tape drives. It also supported audio output, enabling sound effects and music, a novelty at the time.

The introduction of the Apple DOS operating system further underscored the machine's capabilities. DOS streamlined file management and made it easier for users to navigate and manage their data. The combination of hardware and software positioned the Apple II as an educational tool and a gaming platform, fostering a vibrant software ecosystem.

The Apple II family continued to evolve, with variations like the Apple II+, IIe, and IIgs being introduced over the years. These iterations brought enhancements in memory, processing power, and graphics capabilities. The legacy of the Apple II endures, not only as a foundational product in personal computing but also as a symbol of innovation that paved the way for future advancements in technology. Its impact is still felt today, as it inspired countless developers and shaped the trajectory of the computer industry.