🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Passing stems between REXX and C/C++

#18
From: Alex Oren
Date: Thu, 21 Mar 1996 14:07
27 lines
1163 bytes
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?

Thanx!


Have fun,
Alex.
Technical Details
Message-ID: <3151627f.6225858@news.ibm.net.il>
Path: arc1-ca.pugleaf.net!news.tau.ac.il!usenet

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.tau.ac.il!usenet
From: alexo@sapiens.com (Alex Oren)
Newsgroups: comp.os.os2.programmer.misc,comp.lang.rexx
Subject: Passing stems between REXX and C/C++
Date: Thu, 21 Mar 1996 14:07:39 GMT
Organization: Tel-Aviv University Computation Center
Distribution: world
Message-ID: <3151627f.6225858@news.ibm.net.il>
NNTP-Posting-Host: honda.sapiens.co.il
X-Newsreader: Forte Agent .99d/16.182