Syntax


BROWSE

[ file-name  | * ]


[ .Profile-name ]

       

Operands


file-name | *

The name of the file to be browsed.


If a single * is entered, it requests the filename to be fetched from the current clipboard contents.


.Profile-name

This optional operand allows you to specify an overriding Profile to be used for the Browse session. It simply consists of the name of the desired Profile, preceded by a . (period)


Abbreviations and Aliases


BROWSE can also be spelled as B or BRO

Description


The BROWSE command loads a file into the work space for Browsing. If no file-name operand is specified, a standard Windows File Open Dialog will be presented for you to select a file for Browsing.


BROWSE will not allow you to make any modifications to the file. Primary commands, Line Commands and normal typing which would modify the file's data are suppressed. To remind you, the word Browse in the left-hand Status Bar box will be displayed as Browse. These restrictions prevent you from modifying files that might be important to you, when you wanted to be sure there was no possibility you could change them by accident.


    • This represents a change from prior versions. If you need the old behavior of BROWSE, in which files could be temporarily changed and saved under a different name, use the VIEW command instead.


    • The use of BROWSE and VIEW now conforms more closely to ISPF usage. However, unlike the "non resident" behavior of BROWSE on the mainframe, the SPFLite BROWSE will still load your file into memory, and so the same memory considerations that existed in prior SPFLite versions are still present.


If the current working Tab contains data, a new Tab will be opened to hold the Browse session; otherwise the current Tab will be used.


Default Directory


When no operand at all or only a simple unqualified filename is provided for the BROWSE command, the default directory used for searching for the file or for the file open dialog's starting directory will be determined as follows:


    • If there is an active file being edited in the tab where the command is issued, then the Path for THAT active file is used as the default for the command.


    • If there is NO active file [when the tab header displays (Empty) then the current displayed directory of File Manager will be used.


Overriding Profile


When you wish to use a different Profile from the one indicated by the file's extension, simply  provide the alternate profile name, preceded by a period, on the command line. For example, to Browse  MYSOURCE.BAS using the TXT profile the command would be


BROWSE MYSOURCE.BAS .TXT


The use of the alternate profile is for the duration of this session only. It does not alter any permanent Profile processing.


Created with the Personal Edition of HelpNDoc: Easily create Web Help sites