Introduction

Language Structure

IB Statements

File System

Comet 32 Runtime

Index

Directory name

Parameter: DIR=directory
Discussion: This parameter is used in input/output statements to specify a Comet directory name.
Example 1:
OPEN (1) "CUSTMAST", DIR="DSK"
In this example, the program attempts to open a file named "CUSTMAST" located on a directory named "DSK".
Example 2:
CREATE "WORKFILE",1024,K,64,DIR="RAM"
In this example, the program attempts to create a keyed file named "WORKFILE" on a directory named "RAM". The file will have a record size of 1024 bytes and a key size of 64 bytes.