home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 18 REXX
/
18-REXX.zip
/
skeleton.zip
/
Skeleton.pkg
< prev
next >
Wrap
Text File
|
1995-08-03
|
5KB
|
109 lines
Title: REXX Skeleton Service Provider v1.0
Keywords: OS/2 REXX SKELETON TRAP ERROR HANDLER DEBUG TRACE
Author: Bob Rice - CompuServe: 72421,3916
Copyright: Copyright (c) 1995 Empirical Heuristics
Abstract:
Extremely simple to use, the REXX Skeleton provides: display
or extraction of embedded help code, automatic external
function registration, automatic initialization of useful
"global" variables, automatic trapping of REXX execution
time events and errors with dump file generation containing
variables and queues, and debug assistance. Needs only the
standard OS/2 REXX but has more function with REXXLIB.
Great for beginning REXX programmers as well as more
advanced programmers. This is Zero-cost Shareware uploaded
by the author, Bob Rice. r4
Description:
Skeleton provides these features and services:
* Display of embedded help code at several levels:
+ Brief abstract and syntax only
+ The above with description of syntax and inclusion of usage
notes
+ The above with the addition of technical information
* Extraction of embedded help code to a file (possibly for later use
in the construction of a compendium of all your REXX programs).
* Automatic initialization of several "global" variables with values
specific to the particular program being run and the environment
in which it is running. These may be used by your program to
simplify your own code.
* Automatic external function registration.
* Automatic trapping of REXX execution time events and errors:
+ Events include error, failure, halt, novalue, and certain
syntax errors
+ Organized display of event information including the:
- name of the program experiencing the event or error
- type of event or error
- REXX interpreter error code
- description of the error code
- name of the dump file generated as a result of the event
- source line responsible for the event or error
- optional elaboration of the error code description
+ Generation of a dump file showing:
- an optionally sorted list of the names and values of all
variables visible to the program at the time of the event
- the contents of the current data queue, and the SESSION
queue as well, if they are not the same
+ Automatic display of the dump file and the program file with:
- Automatic positioning of the editor cursor on the source
line causing the error in the program file
- Ability to specify your favorite file editor and file viewer
* Debug assistance:
+ Sensitivity to the value of the TRACE environment variable or
the /TRACE parameter to provide code tracing without having to
edit the program.
+ Sensitivity to the value of the DEBUG environment variable or
the /DEBUG parameter to provide a "global" debug flag which you
can use to selectively execute portions of your code.
+ A handy debug procedure to dump all or selected variables and
their values to a file for examination when problems arise.
Availability:
CompuServe: PCVENA forum library 11 (Quercus Systems) as Skeleton.zip
CompuServe: OS2DF1 forum library 6 (REXX/Other Language) as Skeleton.zip
$Revision: 1.0 $
$Date: 03 Aug 1995 20:11:30 $
$Log: Q:/rxdv/skeleton/vcs/skeleton.pk! $
Rev 1.0 03 Aug 1995 20:11:30
Initial revision.
_______________________________________________________________________________
Files:
; The main Skeleton code:
Skeleton .cmd ; The basis for the whole package.
SkelTest .cmd ; Test case to demonstrate some of the Skeleton features.
Skeleton .doc ; Documentation for the package.
Skeleton .pkg ; Packaging information for this package.
; Error handler support files:
ErhTrap .cmd ; Provides organized error display and processing.
ErhEdit .cmd ; Allows user to specify favorite editor.
ErhView .cmd ; Allows user to specify favorite file viewer.
; General purpose programming utilities used by the Skeleton:
AskUser .cmd ; Prompts user for single key responses.
Exist .cmd ; Check for the existence of files and/or directories.
FuncReg .cmd ; Registers external REXX function libraries.
QueCmd .cmd ; Places OS/2 command output in the REXX data queue.
QueDump .cmd ; Captures the REXX data queue in a file.
TellHelp .cmd ; Provides embedded help text display and extraction.