The API samples in the directory WPIPE demonstrate how to:

- Register external functions from within external functions

- How you can provide external functions (written in C) in a library that can
  be accessed from Object REXX (after they have been registered)

- How data can be returned from external functions

- How the REXX Variable Pool interface can be used to access and modify 
  Object REXX variables

The executables are built by changing to the directory WPIPE make it the 
current directory and entering
 
	make -f rexxaspX.mak clean
	make -f rexxaspX.mak    (with X being 1,2, or 3) 

After building the executables make sure you have the current directory
in the load library path (environment variable LD_LIBRARY_PATH):

	export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH


example 1
---------
Description:
	This sample registers a few functions that produce some screen output or
	return some data.
	Run it by typing "rexx asp1test"

example 2 
---------
Description: 
	Sets the value of a variable by using the REXX Variable Pool interface.
	Run it by typing "rexx asp2test"

example 3
---------
Description: 
	A more extensive use of the REXX Variable Pool interface.
	Run it by typing "rexx asp3test"

For more information about the Object REXX API read Appendix A in the Object REXX
Programming Guide (file rexxpg.pdf in directory /usr/local/orexx/doc).

