Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
Add File (Alt+F,D)
■ Loads an existing form (.FRM) or code (.BAS) module into
memory and adds it to your project. Files already open
remain in memory.
■ Tips:
• Use New Module rather than Add File to create and add
a code module to your project.
• Use New Form to add a form module to your project.
■ To load an existing module:
1. Type a file name in the File Name text box,
┌────────────────────────┐
File Name: │ *.BAS │
└────────────────────────┘
• Only files ending with .BAS are displayed in the
Files list box, since the default wildcard
specification is *.BAS for code modules.
• To display other file types, type a different
wildcard in the File Name text box. For example,
*.FRM displays all files ending with .FRM (all
form modules) in the current directory.
or select a file name from the Files list box.
Files:
┌──────────────┐
│ JONES.BAS ↑
│ MY.BAS ░
│ OLD.BAS ↓
└──────────────┘
2. Choose the file type.
┌File Type───────────────────────────────────────────┐
│ (•) Module [*.BAS] ( ) Include File [*.BI] │
│ ( ) Form [*.FRM] ( ) Text File [*.TXT] │
└────────────────────────────────────────────────────┘
• You cannot add a binary file as an include (.BI) or
text (.TXT) file. Binary files can only be added as
form (.FRM) or code (.BAS) modules.
3. Press Enter or choose Edit in Active to edit the new
module in the active window,
╔══════════════╗
║Edit in Active║
╚══════════════╝
choose Edit in New to edit the new module in a new
window,
┌──────────────┐
│ Edit in New │
└──────────────┘
or choose one of the following:
┌───────────────┐
│ Cancel │ To cancel the operation
└───────────────┘
┌───────────────┐
│ Help │ To get help
└───────────────┘
■ The Directories list box provides access to other drives and
directories:
Directories:
┌──────────────┐
│ .. ↑ • Include a drive/path designation with the
│ [-A-] ░ file name
│ [-C-] ░
│ ↓ • Choose the appropriate drive/directory
└──────────────┘