REXX-ercising Your Applications

Автор: Gordon Zeglinski

Дата: 1994

Источник: EDM/2

REXX-ercising Your Applications - Part 1

Contents

  • 1 Introduction
  • 2 Some Basics
    • 2.1 More About Functions
  • 3 About RXSTRINGs
  • 4 Starting Rexx/2 From Within an Application
    • 4.1 Executing REXX Procedures From a File
  • 5 External Functions
    • 5.1 Things to remember
    • 5.2 Registering Your External Function
  • 6 Putting it all Together
  • 7 Summary

Rexx/2 provides an excellent mechanism by which developers can easily add scripting, macro, and programming abilities into their products. Yet there is still some cloud of mystery surrounding the use of REXX in general applications. It is hoped that this article will dispel this cloud and encourage other developers to incorporate REXX abilities into their apps.

After reading this article, you should:

  1. Understand a bit more about how .cmd files are executed.
  2. Know how to start Rexx/2 from within an application.
  3. Be able to extend Rexx/2 by adding your own external functions to it.

REXX-ercising Your Applications - Part 2

Contents

  • 1 Introduction
  • 2 More on RexxStart()
  • 3 The REXX Macrospace
    • 3.1 Manipulating the MACRO Storage Area
  • 4 External Subcommand Handlers
    • 4.1 Creating External Subcommand Handler Functions
    • 4.2 Flag Interpretation
  • 5 Putting It All Together
    • 5.1 Functions, Macros, and Commands
  • 6 Summary

In part 1, we seen how to extend REXX by creating external functions and how to execute REXX programs from within our applications. RexxStart() wasn't thoroughly explored in part 1, so in this issue we will examine two more permutations of RexxStart(). Also, in this issue, we will look at using external command handlers and using the REXX macrospace.