home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: InfoMgt
/
InfoMgt.zip
/
marb91c.zip
/
Age2234.cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
1996-03-16
|
537b
|
22 lines
/* REXX: Select on Age */
/* Demonstration Agent Code.
*/
/* Places value of list prospect's age into
agent global variable pool using Store()
function. Retrieves value using Fetch() function.
Neither function is necessary. Just used to
illustrate function.
*/
CALL Store "Age",,
SUBSTR(GetData(),13,2)
SELECT
WHEN Fetch("Age") > "21" &,
SUBSTR(GetData(),13,2) < "35"
THEN
RETURN 1
OTHERWISE
RETURN 0
END