the dp for reuse. It
> get's passed to subroutines for instance.
>
> Perhaps you can post the code you currently have.
>
> Jim
>
> On Wed, Mar 4, 2020 at 3:19 AM Igor Osmolovskiy > wrote:
>
>> Dear all
>>
>> I need the jBase DP (data pointer) to
doing and that will return the dp for reuse. It
> get's passed to subroutines for instance.
>
> Perhaps you can post the code you currently have.
>
> Jim
>
> On Wed, Mar 4, 2020 at 3:19 AM Igor Osmolovskiy > wrote:
>
>> Dear all
>>
>> I need the jBase DP (data poi
Hello
pls see my response to Jim with the code sample
вторник, 3 марта 2020 г., 21:06:27 UTC+1 пользователь pfalson написал:
>
> Can you post some code?
>
> Sent from my iPhone
>
> On Mar 3, 2020, at 11:19 AM, Igor Osmolovskiy > wrote:
>
>
> Dear all
>
&g
mport lib" in python code.
среда, 4 марта 2020 г., 16:11:12 UTC+1 пользователь pfalson написал:
>
> We have some examples of python calling a subroutine and vice versa. I
> will dig around.
>
> Sent from my iPhone
>
> On Mar 4, 2020, at 7:05 AM, Igor Osmolovskiy >
Dear all
I need the jBase DP (data pointer) to be initialized. I've actually managed
to initialize it by calling the jbase_getdp(). But in both cases the new
child session is created in jshell (and gets removed automatically after
the code has been executed).
So I am wondering: is there a
not to create a new dp :)
thanks
среда, 4 марта 2020 г., 21:08:25 UTC+1 пользователь pfalson написал:
>
> What version of jBASE do you have?
>
> Sent from my iPhone
>
> On Mar 4, 2020, at 10:55 AM, Igor Osmolovskiy > wrote:
>
>
> Thanks Peter, would be really helpful!
>
Peter, thanks for the code sample
Could you please elaborate on what exactly the next line means
jbase_getdpEX(NULL,NULL,1,NULL)
Thanks
Igor
--
--
IMPORTANT: T24/Globus posts are no longer accepted on this forum.
To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to
Marco, thank you for your shared experience
Regarding dp initialization the next was observed: if your starting point is
JBC code that will in turn call the C extension, then dp is really initialized
automatically. Whereas if you launch C/Python directly then dp is NULL and smth
has to be done
:13:48 UTC+1 пользователь pfalson написал:
>
> That creates a regular jBASE session dp. The null args are more for
> internal use.
>
> Sent from my iPhone
>
> > On Mar 6, 2020, at 2:56 PM, Igor Osmolovskiy > wrote:
> >
> > Peter, thanks for the code samp
>
> I can post an example of calling python (it needs jBASE 5).
>
> Sent from my iPhone
>
> On Mar 9, 2020, at 10:36 AM, Igor Osmolovskiy > wrote:
>
>
> Hello Dan
> Right, but is there a possibility to avoid creating a new thread?
> One option proposed by Peter
GTO or a jBASE program
> you should be able to call a python routine and convert the dp to a pylong
> and pass it down for reuse.
>
> Sent from my iPhone
>
> On Mar 25, 2020, at 7:14 AM, Igor Osmolovskiy > wrote:
>
>
> Thanks Peter for your help
>
> Coming ba
Yep. This part works pretty well :)
четверг, 26 марта 2020 г., 13:49:01 UTC пользователь pfalson написал:
>
> Right. What I’m suggesting is that any python programs would need to pass
> on the dp pointer down the chain.
>
> Sent from my iPhone
>
> On Mar 26, 2020, at 6:09
com/pickmultivalue/jPython
>
> On Tue, Mar 10, 2020 at 7:11 AM Igor Osmolovskiy > wrote:
>
>> Would be interesting to have a look
>> Thanks!
>>
>> понедельник, 9 марта 2020 г., 19:31:07 UTC+1 пользователь pfalson написал:
>>>
>>> Your only
from my iPhone
>
> On Mar 25, 2020, at 10:15 AM, Igor Osmolovskiy > wrote:
>
>
> Right. If a jBASE routine is the starting point - no new session is
> created.
>
> But if python is the starting point then looks like we cannot avoid an
> additional session
>
>
Suite A | San Clemente, CA 92673
> *From:* jb...@googlegroups.com > *On Behalf Of *Igor Osmolovskiy
> *Sent:* Monday, March 9, 2020 6:10 AM
> *To:* jBASE >
> *Subject:* Re: Getting the jBase DP (data pointer) of the current session
> when using pure C
>
>
>
&g
pfalson написал:
>
> If you want to use python in this mix then I would think you need to call
> python from jBASE so you can persist the dp.
>
> Sent from my iPhone
>
> On Mar 9, 2020, at 6:28 AM, Igor Osmolovskiy > wrote:
>
>
> Thank you Peter
>
> But do you
16 matches
Mail list logo