🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer.misc
Article #19

Re: Passing stems between REXX and C/C++

#19
From: Dave Kunz - Litton
Date: Thu, 21 Mar 1996 19:12
28 lines
1630 bytes
Alex Oren (alexo@sapiens.com) wrote:
: Hello.
: 
: Is there a way to call a rexx routine from a DLL or EXE (under OS/2) and
: pass it a stem variable? How about the other way around?
: 
: Here is an example of what I'm trying to do:
: 
: A C program has some internal variables, say X and Y.
: 
: This program cals a REXX macro and passes it those variables "attached"
: to a stem called THING (as THING.X and THING.Y).
: 
: The REXX routine accesses THING.X, sets THING.Y to a different value and
: then creates a new variable THING.Z.
: 
: It then returns the stem THING to the calling program which sets Y to
: the new value of THING.Y and does something with the new variable
: THING.Z.
: 
: Is this, or something similar possible?
: Is it possible with the new Object REXX?

Yes, it's possible.  You need the REXX API docs to tell you how to do 
it.  Drop me some email if you can't find 'em and I'll see if I can email 
you a copy.

David Kunz, Team OS/2
Technical Details
Message-ID: <4is9n6$btg@clarknet.clark.net>
Path: arc1-ca.pugleaf.net!news.clark.net!not-for-mail
References: <3151627f.6225858@news.ibm.net.il>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.clark.net!not-for-mail
From: kunzd@clark.net (Dave Kunz - Litton)
Newsgroups: comp.os.os2.programmer.misc,comp.lang.rexx
Subject: Re: Passing stems between REXX and C/C++
Followup-To: comp.os.os2.programmer.misc,comp.lang.rexx
Date: 21 Mar 1996 19:12:38 GMT
Organization: Clark Internet Services, Inc., Ellicott City, MD USA
Distribution: world
Message-ID: <4is9n6$btg@clarknet.clark.net>
References: <3151627f.6225858@news.ibm.net.il>
NNTP-Posting-Host: explorer.clark.net
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: TIN [UNIX 1.3 950726BETA PL0]