× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



David,


You could store the VALUE of a pointer in a user space ... but at that
point it would just be a number ... not a pointer.

You can certainly store a pointer in a user space - I regularly store
the pointer to one user space in another user space. One reason for doing
this is to allow several jobs to access a user space in another job's QTEMP
- you have one generally accessible user space, which contains pointers to
multiple user spaces in other jobs QTEMPs. Useful for running server jobs
where a single control job needs to know what's going on with the child jobs
(there are other ways to do this, obviously). Those of you who know the
software I work on may know where I use this technique.

Anyway...

Since in some ways a pointer is a pointer is a pointer, then aside from any
possible authority-related issues, you can store any space pointer (whether
to allocated memory or to another user space) in a user space. Probably also
a procedure pointer or a system pointer.

But you can't save a pointer in a data queue entry and then send it and
expect it to still work afterwards... :-(

Rory

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.