Microsoft KB Archive/20503

= NAME, FILES$(1), File Types, in Macintosh BASIC =

Article ID: 20503

Article Last Modified on 11/21/2006



This article was previously published under Q20503



SUMMARY
This information applies to Microsoft QuickBASIC Version 1.00, BASIC compiler Version 1.00, and BASIC interpreter Versions 2.00, 2.10, and 3.00 for the Apple Macintosh.

The NAME command can be used to change the file type of BASIC files and programs. The FILES$(1) function displays files of a given type. By default, FILES$(1) shows files of type "TEXT". For an illustration, try PRINT FILES$(1).

Decimal BASIC programs saved as Compressed have the type "MSBB", and ones saved as Protected have the type "MSBP". Binary BASIC programs saved as Compressed have the type "MSBC", and ones saved as Protected have the type "MSBD". Applications like MacWrite, MacPaint, and BASIC have the type "APPL".

The following BASIC files have the type "TEXT":


 * 1) BASIC programs saved as Text.
 * 2) Random and Sequential access files created by BASIC. The Open window displays programs created in that version (decimal or binary) of BASIC, plus files of type "TEXT".

Additional query words: BasicCom MQuickB

Keywords: KB20503

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.