File Ref: Difference between revisions

From BR Wiki
Jump to navigation Jump to search
Line 14: Line 14:
===Parameters===
===Parameters===
The top path in the above diagram represents the DOS format for file references; this path should be followed for all new programs. See specific definitions in this chapter for information about each parameter.<br>
The top path in the above diagram represents the DOS format for file references; this path should be followed for all new programs. See specific definitions in this chapter for information about each parameter.<br>
The file name and extension (.ext) are specified, the bottom path in the above diagram represents System/23 format for file references. This syntax should only be used for compatibility with converted System/23 programs.
The file name and extension (.ext) are specified, the bottom path in the above diagram represents System/23 format for file references. This syntax should only be used for compatibility with converted System/23 programs.
The only required parameter is file name.


<noinclude>
<noinclude>
[[Category:All Parameters]]
[[Category:All Parameters]]
</noinclude>
</noinclude>

Revision as of 15:09, 14 July 2015

The "file-ref" parameter indicates that all the parameters necessary for specifying a particular file are to be inserted at this point in the syntax. The syntax for this parameter can be inserted into any diagram that calls for the file-ref parameter.

"File-ref" Syntax

{[<drive>:][<path>]<file name>[.<ext>]
|<file name>[.<ext>][{//<drive name>|/< sub directory>}][/<drive number>]}

Defaults

1.) Use the current drive.
2.) Use the default directory.
3.) Use a null extension.

Parameters

The top path in the above diagram represents the DOS format for file references; this path should be followed for all new programs. See specific definitions in this chapter for information about each parameter.

The file name and extension (.ext) are specified, the bottom path in the above diagram represents System/23 format for file references. This syntax should only be used for compatibility with converted System/23 programs.

The only required parameter is file name.