Published 1987 | Version v1
Report Open

Output formatting in Apple-Soft Basic

  • 1. Bhabha Atomic Research Centre, Bombay (India). Ore Dressing Section

Description

Personal computers are being used extensively in various fields. BASIC is a very popular and widely used language in personal computers. Apple computer is one of the popular machines used for scientific and engineering applications. Presenting output from computers in a neat and easy to read form is very important. Languages like FORTRAN have utility command 'FORMAT' which takes care of the formatting of the output in user-defined form. In some versions of BASIC a PRINT USING facility is available but it is not as powerful as the FORTRAN statement 'FORMAT'. Applesoft basic does not have even this PRINT USING command. Programmers have to write their own program segments to handle output formatting in Applesoft BASIC. Generally, such user written programs are of limited use as they cannot be used easily with other programs. A general purpose and easily transportable subroutine in Applesoft BASIC is presented here for handling output formatting in user-defined structure. The subroutine is nearly as powerful as the FORMAT statement in FORTRAN. It can also be used in other versions of BASIC with very little modifications. 3 tables, 4 refs. (author)

Files

19024208.pdf

Files (292.3 kB)

Name Size Download all
md5:18d990827c05bd59847ac97ce3d2bd18
292.3 kB Preview Download

Additional details

Publishing Information

Imprint Pagination
14 p.
Report number
BARC--1374

INIS

Country of Publication
India
Country of Input or Organization
India
INIS RN
19024208
Subject category
S99: GENERAL AND MISCELLANEOUS;
Descriptors DEI
A CODES; BASIC; PROGRAMMING; READOUT SYSTEMS
Descriptors DEC
COMPUTER CODES; PROGRAMMING LANGUAGES