Dale, I never got it quite clear in my head until just now.  I'm comfortable 
when I have to examine RC to see how a routine worked, but I knew that RESULT 
also did something, sometimes, and I was never sure exactly what.  Many times 
in past programs I had to test my program looking at RC and at RESULT, to see 
which one I wanted.  Now I think I've got it.  Thanks.

---
Bob Bridges, robhbrid...@gmail.com, cell 336 382-7313

/* The trouble with having an open mind, of course, is that people will insist 
on coming along and trying to put things in it.  -Terry Pratchett */

-----Original Message-----
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of 
Dale R. Smith
Sent: Tuesday, June 28, 2022 18:06

SYSCALLS is a REXX Function.  REXX Functions always return a value (or fail if 
the syntax is wrong!).

x = Function(arg1,arg2...)    Would set "x" to whatever value Function returns

Call Function arg1, arg2...    Sets REXX special variable "result" to whatever 
value Function returns

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to