首页> 美国政府科技报告 >Output Formatting in Apple-Soft Basic
【24h】

Output Formatting in Apple-Soft Basic

机译:apple-soft Basic中的输出格式

获取原文

摘要

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. (Atomindex citation 19:024208)

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利