Category : Assembly Language Source Code
Archive   : C--C0200.ZIP
Filename : WBHELP.DOC

 
Output of file : WBHELP.DOC contained in archive : C--C0200.ZIP

H E L P F O R U S E O F S P H I N X C - - W O R K B E N C H
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Last Updated: 2 May 1993

QUICK LIST OF QUICK KEYS AND FUNCTIONS OF SPHINX C-- WORKBENCH
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

K E Y ------ F U N C T I O N

------ Open C-- Work Bench Help Window
------ Open Main General Help Window
------ Reset All Work Bench Settings
------ Open About Window

------ Save File
------ Save File As

------ Load File

------ View Output Screen
------ Just Execute Run File Without Recompiling
------ Close Window

------ Compile and Run
------ Compile
------ Set Primary Run File
------ Set Run Command Line Parameters

------ Next Window
------ Previous Window

------ Zoom Current Window
------ Tile Windows
------ Cascade Windows
------ ReSize/Move Current Window

------ Set Compiler Options
------ Set Primary Compile File

------ Search Again
------ Find (set search string)
------ Search and Replace

------ Open All Procedure Quick List Window
------ Open Stack Procedure Help Window
------ Open REG Procedure Help Window

<1> ------ Select Colour Sceme 1
<2> ------ Select Colour Sceme 2

------ Open ASCII Table Window
------ Blank Screen Until A Key Is Pressed
------ Pull Down Compile/Compiler Options Menu
------ Small DOS Shell
------ Pull Down Edit Menu
------ Pull Down File Menu
------ Pull Down Help Menu
------ Open Calculator Window
------ Open Clipboard Window
------ Pull Down Options Menu

------ Change Current Directory
------ Full DOS shell
------ Pull Down Run Menu
------ Pull Down Search/Search and Replace Menu
------ Undo
------ Toggle Between 25 and 43/50 lines
------ Pull Down Windows Menu
------ Exit C-- Work Bench

------ Select Text
------ Cut Selected Text Into Clipboard
------ Paste Text From Clipboard
------ Copy Selected Text Into Clipboard
------ Clear Clipboard



STARTING C-- WORK BENCH
^^^^^^^^^^^^^^^^^^^^^^^
First ensure that all files included with C-- are in the same directory as
the Work Bench Program (WB.COM and WB.EXE). Then set the environment
variable 'C--' to the path in which the work bench files are located.

For example, if your files are located in the directory 'C:\C--' then type
the following line at the DOS prompt:

SET C--=C:\C--

You may wish to add the command to your AUTOEXEC.BAT.

After the variable has been set, simply type WB at the DOS prompt. It is
also possible to specify a file or files to load into the editor at start
up. Just WB followed by the files you wish to be loaded, WILD CARD
CHARACTERS CAN BE USED (don't you just love it!).

For example, to load all the *.C-- files in the current directory into the
SPHINX C-- Work Bench, type:

WB *.C--

If an extension is not given, .C-- will be assumed.


USING C-- WORK BENCH
^^^^^^^^^^^^^^^^^^^^
Most features of the C-- Work Bench are reasonably straight forward.
Two features, set run file and set compile file may need some explanation.

SET PRIMARY RUN FILE
Pressing will open a window allowing you to change the
primary run file. The primary run file is the filename of the program
that is run when the Compile&Run or the Just Run option is selected. If
compile&run has been selected, the compile file is compiled and the run file
is executed. The run file may be different than the run file, this allows
for development of programs that required a driver or loader program to be
run to execute the compiled file.
If the primary run filename is left blank, the primary compile filename
will be used.

SET PRIMARY COMPILE FILE
Pressing will open a window allowing you to change the
primary compile file. The primary compile file is the filename of the
source file to be compiled.
If the primary compile filename is left blank, the filename of the
current window will be used as the source file.


NOTES ON COMPILING
^^^^^^^^^^^^^^^^^^
The C-- Work Bench spawns the C-- compiler, which is actually a command line
compiler. The compiler then compiles the given file. The compiler only
compiles the file off disk, therefore all changes must be saved to disk to
be recognized by the compiler. So save your source file before selecting
to compile&run or to compile.

Pressing will display the output screen. This may be used to view
output from the compiler, such as error messages.


EMERGENCY KILL KEYS
^^^^^^^^^^^^^^^^^^^
Even the best programmers sometimes make mistakes, and the dreadful lock-up
occurs, usually in some non-terminating loop that does not allow
to kill it. Well the work bench has a built in kill key combo that will
terminate the current program that is executing.

Pressing will terminate the current program running. When
these keys are pressed, a serious attempt will be made to kill off the
current program running. No care will be given to what state the program
is in. This does impose the possiblities of severly crashing your machine,
but at this point your probably desperate to kill the program anyway, so its
worth a shot. Be careful, will also terminate the C--
compiler or the C-- Work Bench if they are the currently executing program.


/* end of WBHELP.DOC */